[DMAAP-DR] Remove more AAF junk
[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.3.2</version>
36     </parent>
37     <properties>
38         <!--revision must also be set in the version.properties file at project root-->
39         <revision>2.1.13-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>11.0.12</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         <commons-codec.version>1.15</commons-codec.version>
68         <gmaven-plugin.version>1.5</gmaven-plugin.version>
69         <io.fabric8.version>0.33.0</io.fabric8.version>
70         <docker.apiVersion>2.2.54</docker.apiVersion>
71         <commons-lang.version>2.4</commons-lang.version>
72         <commons-io.version>2.7</commons-io.version>
73         <httpcore.version>4.4</httpcore.version>
74         <httpclient.version>4.5.13</httpclient.version>
75         <junit-runner.version>0.11</junit-runner.version>
76         <junit.version>4.12</junit.version>
77         <mockito-core.version>3.3.3</mockito-core.version>
78         <byte-buddy-version>1.10.9</byte-buddy-version>
79         <powermock.version>2.0.7</powermock.version>
80         <commons-lang3.version>3.0</commons-lang3.version>
81         <eelf-core.version>1.0.0</eelf-core.version>
82         <json.version>20210307</json.version>
83         <sl4j-api.version>1.7.25</sl4j-api.version>
84         <hamcrest-lib.version>1.3</hamcrest-lib.version>
85         <annotations.version>12.0</annotations.version>
86     </properties>
87     <modules>
88         <module>datarouter-prov</module>
89         <module>datarouter-node</module>
90         <module>datarouter-subscriber</module>
91         <module>datarouter-docker-compose</module>
92     </modules>
93     <dependencyManagement>
94         <dependencies>
95             <dependency>
96                 <groupId>org.apache.commons</groupId>
97                 <artifactId>commons-lang3</artifactId>
98                 <version>${commons-lang3.version}</version>
99             </dependency>
100             <dependency>
101                 <groupId>com.att.eelf</groupId>
102                 <artifactId>eelf-core</artifactId>
103                 <version>${eelf-core.version}</version>
104             </dependency>
105             <dependency>
106                 <groupId>org.json</groupId>
107                 <artifactId>json</artifactId>
108                 <version>${json.version}</version>
109             </dependency>
110             <dependency>
111                 <groupId>org.slf4j</groupId>
112                 <artifactId>slf4j-api</artifactId>
113                 <version>${sl4j-api.version}</version>
114             </dependency>
115             <dependency>
116                 <groupId>commons-codec</groupId>
117                 <artifactId>commons-codec</artifactId>
118                 <version>${commons-codec.version}</version>
119             </dependency>
120             <dependency>
121                 <groupId>ch.qos.logback</groupId>
122                 <artifactId>logback-classic</artifactId>
123                 <version>${qos.logback.classic.version}</version>
124                 <scope>compile</scope>
125             </dependency>
126             <dependency>
127                 <groupId>ch.qos.logback</groupId>
128                 <artifactId>logback-core</artifactId>
129                 <version>${qos.logback.version}</version>
130                 <scope>compile</scope>
131             </dependency>
132             <dependency>
133                 <groupId>com.intellij</groupId>
134                 <artifactId>annotations</artifactId>
135                 <version>${annotations.version}</version>
136             </dependency>
137             <dependency>
138                 <groupId>javax.servlet</groupId>
139                 <artifactId>javax.servlet-api</artifactId>
140                 <version>${javax.servlet-api.version}</version>
141                 <scope>compile</scope>
142             </dependency>
143             <dependency>
144                 <groupId>javax.mail</groupId>
145                 <artifactId>javax.mail-api</artifactId>
146                 <version>${javax.mail-api.version}</version>
147             </dependency>
148             <dependency>
149                 <groupId>org.eclipse.jetty</groupId>
150                 <artifactId>jetty-server</artifactId>
151                 <version>${jetty.version}</version>
152             </dependency>
153             <dependency>
154                 <groupId>org.eclipse.jetty</groupId>
155                 <artifactId>jetty-continuation</artifactId>
156                 <version>9.4.49.v20220914</version>
157             </dependency>
158             <dependency>
159                 <groupId>org.eclipse.jetty</groupId>
160                 <artifactId>jetty-util</artifactId>
161                 <version>${jetty.version}</version>
162             </dependency>
163             <dependency>
164                 <groupId>org.eclipse.jetty</groupId>
165                 <artifactId>jetty-servlet</artifactId>
166                 <version>${jetty.version}</version>
167             </dependency>
168             <dependency>
169                 <groupId>org.eclipse.jetty</groupId>
170                 <artifactId>jetty-http</artifactId>
171                 <version>${jetty.version}</version>
172             </dependency>
173             <dependency>
174                 <groupId>org.eclipse.jetty</groupId>
175                 <artifactId>jetty-io</artifactId>
176                 <version>${jetty.version}</version>
177             </dependency>
178             <dependency>
179                 <groupId>org.eclipse.jetty.cdi</groupId>
180                 <artifactId>cdi-websocket</artifactId>
181                 <version>${jetty.version}</version>
182             </dependency>
183             <dependency>
184                 <groupId>commons-io</groupId>
185                 <artifactId>commons-io</artifactId>
186                 <version>${commons-io.version}</version>
187                 <scope>compile</scope>
188             </dependency>
189             <dependency>
190                 <groupId>org.apache.httpcomponents</groupId>
191                 <artifactId>httpcore</artifactId>
192                 <version>${httpcore.version}</version>
193             </dependency>
194             <dependency>
195                 <groupId>org.apache.httpcomponents</groupId>
196                 <artifactId>httpclient</artifactId>
197                 <version>${httpclient.version}</version>
198             </dependency>
199             <dependency>
200                 <groupId>org.sonatype.http-testing-harness</groupId>
201                 <artifactId>junit-runner</artifactId>
202                 <version>${junit-runner.version}</version>
203                 <scope>test</scope>
204                 <exclusions>
205                     <exclusion>
206                         <groupId>org.databene</groupId>
207                         <artifactId>contiperf</artifactId>
208                     </exclusion>
209                     <exclusion>
210                         <groupId>com.thoughtworks.xstream</groupId>
211                         <artifactId>xstream</artifactId>
212                     </exclusion>
213                 </exclusions>
214             </dependency>
215             <dependency>
216                 <groupId>junit</groupId>
217                 <artifactId>junit</artifactId>
218                 <version>${junit.version}</version>
219                 <scope>test</scope>
220             </dependency>
221             <dependency>
222                 <groupId>org.hamcrest</groupId>
223                 <artifactId>hamcrest-all</artifactId>
224                 <version>${hamcrest-lib.version}</version>
225                 <scope>test</scope>
226             </dependency>
227             <dependency>
228                 <groupId>org.mockito</groupId>
229                 <artifactId>mockito-core</artifactId>
230                 <version>${mockito-core.version}</version>
231                 <scope>test</scope>
232             </dependency>
233             <dependency>
234                 <groupId>net.bytebuddy</groupId>
235                 <artifactId>byte-buddy</artifactId>
236                 <version>${byte-buddy-version}</version>
237                 <scope>test</scope>
238             </dependency>
239             <dependency>
240                 <groupId>net.bytebuddy</groupId>
241                 <artifactId>byte-buddy-agent</artifactId>
242                 <version>${byte-buddy-version}</version>
243                 <scope>test</scope>
244             </dependency>
245             <dependency>
246                 <groupId>org.objenesis</groupId>
247                 <artifactId>objenesis</artifactId>
248                 <version>3.1</version>
249                 <scope>test</scope>
250             </dependency>
251             <dependency>
252                 <groupId>org.javassist</groupId>
253                 <artifactId>javassist</artifactId>
254                 <version>3.27.0-GA</version>
255                 <scope>test</scope>
256             </dependency>
257             <dependency>
258                 <groupId>org.powermock</groupId>
259                 <artifactId>powermock-api-mockito2</artifactId>
260                 <version>${powermock.version}</version>
261             </dependency>
262             <dependency>
263                 <groupId>org.powermock</groupId>
264                 <artifactId>powermock-module-junit4</artifactId>
265                 <version>${powermock.version}</version>
266                 <scope>test</scope>
267             </dependency>
268             <dependency>
269                 <groupId>org.powermock</groupId>
270                 <artifactId>powermock-api-support</artifactId>
271                 <version>${powermock.version}</version>
272                 <scope>test</scope>
273             </dependency>
274             <dependency>
275                 <groupId>org.powermock</groupId>
276                 <artifactId>powermock-core</artifactId>
277                 <version>${powermock.version}</version>
278                 <scope>test</scope>
279             </dependency>
280             <dependency>
281                 <groupId>org.powermock</groupId>
282                 <artifactId>powermock-module-junit4-rule</artifactId>
283                 <version>${powermock.version}</version>
284                 <scope>test</scope>
285             </dependency>
286         </dependencies>
287     </dependencyManagement>
288     <build>
289         <plugins>
290             <plugin>
291                 <groupId>org.apache.maven.plugins</groupId>
292                 <artifactId>maven-surefire-plugin</artifactId>
293                 <configuration>
294                     <excludes>
295                         <exclude>IntegrationSuite.java</exclude>
296                     </excludes>
297                     <argLine>
298                         ${surefireArgLine} --illegal-access=permit
299                     </argLine>
300                 </configuration>
301             </plugin>
302             <plugin>
303                 <groupId>org.apache.maven.plugins</groupId>
304                 <artifactId>maven-failsafe-plugin</artifactId>
305                 <configuration>
306                     <argLine>
307                         --illegal-access=permit
308                     </argLine>
309                 </configuration>
310             </plugin>
311             <plugin>
312                 <groupId>org.codehaus.mojo</groupId>
313                 <artifactId>flatten-maven-plugin</artifactId>
314                 <version>1.0.1</version>
315                 <configuration>
316                     <updatePomFile>true</updatePomFile>
317                     <outputDirectory>target</outputDirectory>
318                 </configuration>
319                 <executions>
320                     <execution>
321                         <id>flatten</id>
322                         <phase>process-resources</phase>
323                         <goals>
324                             <goal>flatten</goal>
325                         </goals>
326                     </execution>
327                 </executions>
328             </plugin>
329             <plugin>
330                 <artifactId>maven-checkstyle-plugin</artifactId>
331                 <executions>
332                     <execution>
333                         <id>onap-java-style</id>
334                         <configuration>
335                             <consoleOutput>false</consoleOutput>
336                         </configuration>
337                     </execution>
338                 </executions>
339             </plugin>
340         </plugins>
341         <pluginManagement>
342             <plugins>
343                 <plugin>
344                     <groupId>org.apache.maven.plugins</groupId>
345                     <artifactId>maven-compiler-plugin</artifactId>
346                     <configuration>
347                         <source>${maven.compiler.source}</source>
348                         <target>${maven.compiler.target}</target>
349                     </configuration>
350                 </plugin>
351                 <plugin>
352                     <groupId>org.apache.maven.plugins</groupId>
353                     <artifactId>maven-dependency-plugin</artifactId>
354                     <version>2.10</version>
355                     <executions>
356                         <execution>
357                             <id>copy-dependencies</id>
358                             <goals>
359                                 <goal>copy-dependencies</goal>
360                             </goals>
361                             <configuration>
362                                 <overWriteReleases>false</overWriteReleases>
363                                 <overWriteSnapshots>false</overWriteSnapshots>
364                                 <overWriteIfNewer>true</overWriteIfNewer>
365                             </configuration>
366                         </execution>
367                     </executions>
368                 </plugin>
369                 <plugin>
370                     <groupId>org.apache.maven.plugins</groupId>
371                     <artifactId>maven-javadoc-plugin</artifactId>
372                     <version>3.3.1</version>
373                     <configuration>
374                         <failOnError>false</failOnError>
375                     </configuration>
376                     <executions>
377                         <execution>
378                             <id>attach-javadocs</id>
379                             <goals>
380                                 <goal>jar</goal>
381                             </goals>
382                         </execution>
383                     </executions>
384                 </plugin>
385                 <plugin>
386                     <groupId>org.apache.maven.plugins</groupId>
387                     <artifactId>maven-source-plugin</artifactId>
388                     <version>2.2.1</version>
389                     <executions>
390                         <execution>
391                             <id>attach-sources</id>
392                             <goals>
393                                 <goal>jar-no-fork</goal>
394                             </goals>
395                         </execution>
396                     </executions>
397                 </plugin>
398                 <plugin>
399                     <groupId>org.codehaus.mojo</groupId>
400                     <artifactId>cobertura-maven-plugin</artifactId>
401                     <version>2.7</version>
402                     <configuration>
403                         <formats>
404                             <format>html</format>
405                             <format>xml</format>
406                         </formats>
407                         <check/>
408                     </configuration>
409                 </plugin>
410                 <plugin>
411                     <groupId>org.codehaus.gmaven</groupId>
412                     <artifactId>gmaven-plugin</artifactId>
413                     <version>${gmaven-plugin.version}</version>
414                     <executions>
415                         <execution>
416                             <phase>validate</phase>
417                             <goals>
418                                 <goal>execute</goal>
419                             </goals>
420                             <configuration>
421                                 <properties>
422                                     <ver>${project.version}</ver>
423                                 </properties>
424                                 <!-- Setup image tags per https://wiki.onap.org/display/DW/Independent+Versioning+and+Release+Process#IndependentVersioningandReleaseProcess-StandardizedDockerTagging -->
425                                 <source>
426                                     println 'ver: ' + project.properties['ver'];
427                                     if ( project.properties['ver'].endsWith("-SNAPSHOT") ) {
428                                         project.properties['dockertag1']=project.properties['ver'] + "-latest";
429                                         project.properties['dockertag2']=project.properties['ver'] + "-" + project.properties['timestamp'];
430                                     } else {
431                                         project.properties['dockertag1']=project.properties['ver'] + "-STAGING-latest";
432                                         project.properties['dockertag2']=project.properties['ver'] + "-STAGING-" + project.properties['timestamp'];
433                                     }
434                                     println 'docker tag 1: ' + project.properties['dockertag1'];
435                                     println 'docker tag 2: ' + project.properties['dockertag2'];
436                                 </source>
437                             </configuration>
438                         </execution>
439                     </executions>
440                 </plugin>
441                 <plugin>
442                     <groupId>io.fabric8</groupId>
443                     <artifactId>docker-maven-plugin</artifactId>
444                     <version>${io.fabric8.version}</version>
445                     <configuration>
446                         <skipBuild>${docker.skip.build}</skipBuild>
447                         <verbose>${docker.verbose}</verbose>
448                         <apiVersion>${docker.apiVersion}</apiVersion>
449                         <pullRegistry>${docker.pull.registry}</pullRegistry>
450                         <pushRegistry>${docker.push.registry}</pushRegistry>
451                     </configuration>
452                 </plugin>
453                 <plugin>
454                     <groupId>org.codehaus.mojo</groupId>
455                     <artifactId>properties-maven-plugin</artifactId>
456                     <version>1.0.0</version>
457                     <executions>
458                         <execution>
459                             <phase>validate</phase>
460                             <goals>
461                                 <goal>read-project-properties</goal>
462                             </goals>
463                             <configuration>
464                                 <files>
465                                     <file>../version.properties</file>
466                                 </files>
467                             </configuration>
468                         </execution>
469                     </executions>
470                 </plugin>
471             </plugins>
472         </pluginManagement>
473     </build>
474     <pluginRepositories>
475         <pluginRepository>
476             <id>onap-plugin-snapshots</id>
477             <url>${onap.nexus.url}${snapshotNexusPath}</url>
478         </pluginRepository>
479     </pluginRepositories>
480 </project>