[DMAAP-DR] Bump version to 2.1.10
[dmaap/datarouter.git] / pom.xml
1 <!--
2   ============LICENSE_START==================================================
3   * org.onap.dmaap
4   * ===========================================================================
5   * Copyright © 2017 AT&T Intellectual Property. All rights reserved.
6   * Modifications Copyright (C) 2018 Nokia. All rights reserved.
7   * ===========================================================================
8   * Licensed under the Apache License, Version 2.0 (the "License");
9   * you may not use this file except in compliance with the License.
10   * You may obtain a copy of the License at
11   *
12    *      http://www.apache.org/licenses/LICENSE-2.0
13   *
14    * Unless required by applicable law or agreed to in writing, software
15   * distributed under the License is distributed on an "AS IS" BASIS,
16   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17   * See the License for the specific language governing permissions and
18   * limitations under the License.
19   * ============LICENSE_END====================================================
20   *
21   * ECOMP is a trademark and service mark of AT&T Intellectual Property.
22   *
23 -->
24 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
25     <modelVersion>4.0.0</modelVersion>
26     <groupId>org.onap.dmaap.datarouter</groupId>
27     <artifactId>parent</artifactId>
28     <name>dmaap-datarouter</name>
29     <version>${revision}</version>
30     <packaging>pom</packaging>
31     <url>https://docs.onap.org/en/latest/submodules/dmaap/datarouter.git/docs/index.html</url>
32     <parent>
33         <groupId>org.onap.oparent</groupId>
34         <artifactId>oparent</artifactId>
35         <version>3.0.0</version>
36     </parent>
37     <properties>
38         <!--revision must also be set in the version.properties file at project root-->
39         <revision>2.1.10-SNAPSHOT</revision>
40         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
41         <maven.compiler.source>11</maven.compiler.source>
42         <maven.compiler.target>11</maven.compiler.target>
43
44         <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
45         <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
46         <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
47         <sitePath>/content/sites/site/org/onap/dmaap/datarouter/${project.artifactId}/${project.version}</sitePath>
48
49         <sonar.language>java</sonar.language>
50         <sonar.skip>false</sonar.skip>
51         <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
52         <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
53         <sonar.projectVersion>${project.version}</sonar.projectVersion>
54
55         <docker.skip.build>false</docker.skip.build>
56         <docker.verbose>true</docker.verbose>
57         <docker.image.root>onap/dmaap/</docker.image.root>
58         <timestamp>${maven.build.timestamp}</timestamp>
59         <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
60
61         <!--dependency version across all modules-->
62         <jetty.version>9.4.41.v20210516</jetty.version>
63         <javax.mail-api.version>1.5.5</javax.mail-api.version>
64         <javax.servlet-api.version>4.0.1</javax.servlet-api.version>
65         <qos.logback.version>1.2.7</qos.logback.version>
66         <qos.logback.classic.version>1.2.3</qos.logback.classic.version>
67         <aaf-cadi-aaf.version>2.1.15</aaf-cadi-aaf.version>
68         <commons-codec.version>1.15</commons-codec.version>
69         <gmaven-plugin.version>1.5</gmaven-plugin.version>
70         <io.fabric8.version>0.33.0</io.fabric8.version>
71         <docker.apiVersion>2.2.54</docker.apiVersion>
72         <commons-lang.version>2.4</commons-lang.version>
73         <commons-io.version>2.7</commons-io.version>
74         <httpcore.version>4.4</httpcore.version>
75         <httpclient.version>4.5.13</httpclient.version>
76         <junit-runner.version>0.11</junit-runner.version>
77         <junit.version>4.12</junit.version>
78         <mockito-core.version>3.3.3</mockito-core.version>
79         <byte-buddy-version>1.10.9</byte-buddy-version>
80         <powermock.version>2.0.7</powermock.version>
81         <commons-lang3.version>3.0</commons-lang3.version>
82         <eelf-core.version>1.0.0</eelf-core.version>
83         <json.version>20210307</json.version>
84         <sl4j-api.version>1.7.25</sl4j-api.version>
85         <hamcrest-lib.version>1.3</hamcrest-lib.version>
86         <annotations.version>12.0</annotations.version>
87     </properties>
88     <modules>
89         <module>datarouter-prov</module>
90         <module>datarouter-node</module>
91         <module>datarouter-subscriber</module>
92         <module>datarouter-docker-compose</module>
93     </modules>
94     <dependencyManagement>
95         <dependencies>
96             <dependency>
97                 <groupId>org.apache.commons</groupId>
98                 <artifactId>commons-lang3</artifactId>
99                 <version>${commons-lang3.version}</version>
100             </dependency>
101             <dependency>
102                 <groupId>com.att.eelf</groupId>
103                 <artifactId>eelf-core</artifactId>
104                 <version>${eelf-core.version}</version>
105             </dependency>
106             <dependency>
107                 <groupId>org.json</groupId>
108                 <artifactId>json</artifactId>
109                 <version>${json.version}</version>
110             </dependency>
111             <dependency>
112                 <groupId>org.slf4j</groupId>
113                 <artifactId>slf4j-api</artifactId>
114                 <version>${sl4j-api.version}</version>
115             </dependency>
116             <dependency>
117                 <groupId>commons-codec</groupId>
118                 <artifactId>commons-codec</artifactId>
119                 <version>${commons-codec.version}</version>
120             </dependency>
121             <dependency>
122                 <groupId>ch.qos.logback</groupId>
123                 <artifactId>logback-classic</artifactId>
124                 <version>${qos.logback.classic.version}</version>
125                 <scope>compile</scope>
126             </dependency>
127             <dependency>
128                 <groupId>ch.qos.logback</groupId>
129                 <artifactId>logback-core</artifactId>
130                 <version>${qos.logback.version}</version>
131                 <scope>compile</scope>
132             </dependency>
133             <dependency>
134                 <groupId>com.intellij</groupId>
135                 <artifactId>annotations</artifactId>
136                 <version>${annotations.version}</version>
137             </dependency>
138             <dependency>
139                 <groupId>javax.servlet</groupId>
140                 <artifactId>javax.servlet-api</artifactId>
141                 <version>${javax.servlet-api.version}</version>
142                 <scope>compile</scope>
143             </dependency>
144             <dependency>
145                 <groupId>javax.mail</groupId>
146                 <artifactId>javax.mail-api</artifactId>
147                 <version>${javax.mail-api.version}</version>
148             </dependency>
149             <dependency>
150                 <groupId>org.eclipse.jetty</groupId>
151                 <artifactId>jetty-server</artifactId>
152                 <version>${jetty.version}</version>
153             </dependency>
154             <dependency>
155                 <groupId>org.eclipse.jetty</groupId>
156                 <artifactId>jetty-continuation</artifactId>
157                 <version>${jetty.version}</version>
158             </dependency>
159             <dependency>
160                 <groupId>org.eclipse.jetty</groupId>
161                 <artifactId>jetty-util</artifactId>
162                 <version>${jetty.version}</version>
163             </dependency>
164             <dependency>
165                 <groupId>org.eclipse.jetty</groupId>
166                 <artifactId>jetty-servlet</artifactId>
167                 <version>${jetty.version}</version>
168             </dependency>
169             <dependency>
170                 <groupId>org.eclipse.jetty</groupId>
171                 <artifactId>jetty-http</artifactId>
172                 <version>9.4.43.v20210629</version>
173             </dependency>
174             <dependency>
175                 <groupId>org.eclipse.jetty</groupId>
176                 <artifactId>jetty-io</artifactId>
177                 <version>${jetty.version}</version>
178             </dependency>
179             <dependency>
180                 <groupId>org.eclipse.jetty.cdi</groupId>
181                 <artifactId>cdi-websocket</artifactId>
182                 <version>${jetty.version}</version>
183             </dependency>
184             <dependency>
185                 <groupId>org.onap.aaf.authz</groupId>
186                 <artifactId>aaf-cadi-core</artifactId>
187                 <version>${aaf-cadi-aaf.version}</version>
188             </dependency>
189             <dependency>
190                 <groupId>commons-io</groupId>
191                 <artifactId>commons-io</artifactId>
192                 <version>${commons-io.version}</version>
193                 <scope>compile</scope>
194             </dependency>
195             <dependency>
196                 <groupId>org.apache.httpcomponents</groupId>
197                 <artifactId>httpcore</artifactId>
198                 <version>${httpcore.version}</version>
199             </dependency>
200             <dependency>
201                 <groupId>org.apache.httpcomponents</groupId>
202                 <artifactId>httpclient</artifactId>
203                 <version>${httpclient.version}</version>
204             </dependency>
205             <dependency>
206                 <groupId>org.sonatype.http-testing-harness</groupId>
207                 <artifactId>junit-runner</artifactId>
208                 <version>${junit-runner.version}</version>
209                 <scope>test</scope>
210                 <exclusions>
211                     <exclusion>
212                         <groupId>org.databene</groupId>
213                         <artifactId>contiperf</artifactId>
214                     </exclusion>
215                     <exclusion>
216                         <groupId>com.thoughtworks.xstream</groupId>
217                         <artifactId>xstream</artifactId>
218                     </exclusion>
219                 </exclusions>
220             </dependency>
221             <dependency>
222                 <groupId>junit</groupId>
223                 <artifactId>junit</artifactId>
224                 <version>${junit.version}</version>
225                 <scope>test</scope>
226             </dependency>
227             <dependency>
228                 <groupId>org.hamcrest</groupId>
229                 <artifactId>hamcrest-all</artifactId>
230                 <version>${hamcrest-lib.version}</version>
231                 <scope>test</scope>
232             </dependency>
233             <dependency>
234                 <groupId>org.mockito</groupId>
235                 <artifactId>mockito-core</artifactId>
236                 <version>${mockito-core.version}</version>
237                 <scope>test</scope>
238             </dependency>
239             <dependency>
240                 <groupId>net.bytebuddy</groupId>
241                 <artifactId>byte-buddy</artifactId>
242                 <version>${byte-buddy-version}</version>
243                 <scope>test</scope>
244             </dependency>
245             <dependency>
246                 <groupId>net.bytebuddy</groupId>
247                 <artifactId>byte-buddy-agent</artifactId>
248                 <version>${byte-buddy-version}</version>
249                 <scope>test</scope>
250             </dependency>
251             <dependency>
252                 <groupId>org.objenesis</groupId>
253                 <artifactId>objenesis</artifactId>
254                 <version>3.1</version>
255                 <scope>test</scope>
256             </dependency>
257             <dependency>
258                 <groupId>org.javassist</groupId>
259                 <artifactId>javassist</artifactId>
260                 <version>3.27.0-GA</version>
261                 <scope>test</scope>
262             </dependency>
263             <dependency>
264                 <groupId>org.powermock</groupId>
265                 <artifactId>powermock-api-mockito2</artifactId>
266                 <version>${powermock.version}</version>
267             </dependency>
268             <dependency>
269                 <groupId>org.powermock</groupId>
270                 <artifactId>powermock-module-junit4</artifactId>
271                 <version>${powermock.version}</version>
272                 <scope>test</scope>
273             </dependency>
274             <dependency>
275                 <groupId>org.powermock</groupId>
276                 <artifactId>powermock-api-support</artifactId>
277                 <version>${powermock.version}</version>
278                 <scope>test</scope>
279             </dependency>
280             <dependency>
281                 <groupId>org.powermock</groupId>
282                 <artifactId>powermock-core</artifactId>
283                 <version>${powermock.version}</version>
284                 <scope>test</scope>
285             </dependency>
286             <dependency>
287                 <groupId>org.powermock</groupId>
288                 <artifactId>powermock-module-junit4-rule</artifactId>
289                 <version>${powermock.version}</version>
290                 <scope>test</scope>
291             </dependency>
292         </dependencies>
293     </dependencyManagement>
294     <build>
295         <plugins>
296             <plugin>
297                 <groupId>org.apache.maven.plugins</groupId>
298                 <artifactId>maven-surefire-plugin</artifactId>
299                 <configuration>
300                     <excludes>
301                         <exclude>IntegrationSuite.java</exclude>
302                     </excludes>
303                     <argLine>
304                         ${surefireArgLine} --illegal-access=permit
305                     </argLine>
306                 </configuration>
307             </plugin>
308             <plugin>
309                 <groupId>org.apache.maven.plugins</groupId>
310                 <artifactId>maven-failsafe-plugin</artifactId>
311                 <configuration>
312                     <argLine>
313                         --illegal-access=permit
314                     </argLine>
315                 </configuration>
316             </plugin>
317             <plugin>
318                 <groupId>org.codehaus.mojo</groupId>
319                 <artifactId>flatten-maven-plugin</artifactId>
320                 <version>1.0.1</version>
321                 <configuration>
322                     <updatePomFile>true</updatePomFile>
323                     <outputDirectory>target</outputDirectory>
324                 </configuration>
325                 <executions>
326                     <execution>
327                         <id>flatten</id>
328                         <phase>process-resources</phase>
329                         <goals>
330                             <goal>flatten</goal>
331                         </goals>
332                     </execution>
333                 </executions>
334             </plugin>
335             <plugin>
336                 <artifactId>maven-checkstyle-plugin</artifactId>
337                 <executions>
338                     <execution>
339                         <id>onap-java-style</id>
340                         <configuration>
341                             <consoleOutput>false</consoleOutput>
342                         </configuration>
343                     </execution>
344                 </executions>
345             </plugin>
346         </plugins>
347         <pluginManagement>
348             <plugins>
349                 <plugin>
350                     <groupId>org.apache.maven.plugins</groupId>
351                     <artifactId>maven-compiler-plugin</artifactId>
352                     <configuration>
353                         <source>${maven.compiler.source}</source>
354                         <target>${maven.compiler.target}</target>
355                     </configuration>
356                 </plugin>
357                 <plugin>
358                     <groupId>org.apache.maven.plugins</groupId>
359                     <artifactId>maven-dependency-plugin</artifactId>
360                     <version>2.10</version>
361                     <executions>
362                         <execution>
363                             <id>copy-dependencies</id>
364                             <goals>
365                                 <goal>copy-dependencies</goal>
366                             </goals>
367                             <configuration>
368                                 <overWriteReleases>false</overWriteReleases>
369                                 <overWriteSnapshots>false</overWriteSnapshots>
370                                 <overWriteIfNewer>true</overWriteIfNewer>
371                             </configuration>
372                         </execution>
373                     </executions>
374                 </plugin>
375                 <plugin>
376                     <groupId>org.apache.maven.plugins</groupId>
377                     <artifactId>maven-javadoc-plugin</artifactId>
378                     <version>3.3.1</version>
379                     <configuration>
380                         <failOnError>false</failOnError>
381                     </configuration>
382                     <executions>
383                         <execution>
384                             <id>attach-javadocs</id>
385                             <goals>
386                                 <goal>jar</goal>
387                             </goals>
388                         </execution>
389                     </executions>
390                 </plugin>
391                 <plugin>
392                     <groupId>org.apache.maven.plugins</groupId>
393                     <artifactId>maven-source-plugin</artifactId>
394                     <version>2.2.1</version>
395                     <executions>
396                         <execution>
397                             <id>attach-sources</id>
398                             <goals>
399                                 <goal>jar-no-fork</goal>
400                             </goals>
401                         </execution>
402                     </executions>
403                 </plugin>
404                 <plugin>
405                     <groupId>org.codehaus.mojo</groupId>
406                     <artifactId>cobertura-maven-plugin</artifactId>
407                     <version>2.7</version>
408                     <configuration>
409                         <formats>
410                             <format>html</format>
411                             <format>xml</format>
412                         </formats>
413                         <check/>
414                     </configuration>
415                 </plugin>
416                 <plugin>
417                     <groupId>org.codehaus.gmaven</groupId>
418                     <artifactId>gmaven-plugin</artifactId>
419                     <version>${gmaven-plugin.version}</version>
420                     <executions>
421                         <execution>
422                             <phase>validate</phase>
423                             <goals>
424                                 <goal>execute</goal>
425                             </goals>
426                             <configuration>
427                                 <properties>
428                                     <ver>${project.version}</ver>
429                                 </properties>
430                                 <!-- Setup image tags per https://wiki.onap.org/display/DW/Independent+Versioning+and+Release+Process#IndependentVersioningandReleaseProcess-StandardizedDockerTagging -->
431                                 <source>
432                                     println 'ver: ' + project.properties['ver'];
433                                     if ( project.properties['ver'].endsWith("-SNAPSHOT") ) {
434                                         project.properties['dockertag1']=project.properties['ver'] + "-latest";
435                                         project.properties['dockertag2']=project.properties['ver'] + "-" + project.properties['timestamp'];
436                                     } else {
437                                         project.properties['dockertag1']=project.properties['ver'] + "-STAGING-latest";
438                                         project.properties['dockertag2']=project.properties['ver'] + "-STAGING-" + project.properties['timestamp'];
439                                     }
440                                     println 'docker tag 1: ' + project.properties['dockertag1'];
441                                     println 'docker tag 2: ' + project.properties['dockertag2'];
442                                 </source>
443                             </configuration>
444                         </execution>
445                     </executions>
446                 </plugin>
447                 <plugin>
448                     <groupId>io.fabric8</groupId>
449                     <artifactId>docker-maven-plugin</artifactId>
450                     <version>${io.fabric8.version}</version>
451                     <configuration>
452                         <skipBuild>${docker.skip.build}</skipBuild>
453                         <verbose>${docker.verbose}</verbose>
454                         <apiVersion>${docker.apiVersion}</apiVersion>
455                         <pullRegistry>${docker.pull.registry}</pullRegistry>
456                         <pushRegistry>${docker.push.registry}</pushRegistry>
457                     </configuration>
458                 </plugin>
459                 <plugin>
460                     <groupId>org.codehaus.mojo</groupId>
461                     <artifactId>properties-maven-plugin</artifactId>
462                     <version>1.0.0</version>
463                     <executions>
464                         <execution>
465                             <phase>validate</phase>
466                             <goals>
467                                 <goal>read-project-properties</goal>
468                             </goals>
469                             <configuration>
470                                 <files>
471                                     <file>../version.properties</file>
472                                 </files>
473                             </configuration>
474                         </execution>
475                     </executions>
476                 </plugin>
477             </plugins>
478         </pluginManagement>
479     </build>
480     <pluginRepositories>
481         <pluginRepository>
482             <id>onap-plugin-snapshots</id>
483             <url>${onap.nexus.url}${snapshotNexusPath}</url>
484         </pluginRepository>
485     </pluginRepositories>
486 </project>