2 ============LICENSE_START==================================================
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
12 * http://www.apache.org/licenses/LICENSE-2.0
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====================================================
21 * ECOMP is a trademark and service mark of AT&T Intellectual Property.
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>
33 <groupId>org.onap.oparent</groupId>
34 <artifactId>oparent</artifactId>
35 <version>3.3.3</version>
38 <!--revision must also be set in the version.properties file at project root-->
39 <revision>2.1.14-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>
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>
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>
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>
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>
88 <module>datarouter-prov</module>
89 <module>datarouter-node</module>
90 <module>datarouter-subscriber</module>
91 <module>datarouter-docker-compose</module>
93 <dependencyManagement>
96 <groupId>org.apache.commons</groupId>
97 <artifactId>commons-lang3</artifactId>
98 <version>${commons-lang3.version}</version>
101 <groupId>com.att.eelf</groupId>
102 <artifactId>eelf-core</artifactId>
103 <version>${eelf-core.version}</version>
106 <groupId>org.json</groupId>
107 <artifactId>json</artifactId>
108 <version>${json.version}</version>
111 <groupId>org.slf4j</groupId>
112 <artifactId>slf4j-api</artifactId>
113 <version>${sl4j-api.version}</version>
116 <groupId>commons-codec</groupId>
117 <artifactId>commons-codec</artifactId>
118 <version>${commons-codec.version}</version>
121 <groupId>ch.qos.logback</groupId>
122 <artifactId>logback-classic</artifactId>
123 <version>${qos.logback.classic.version}</version>
124 <scope>compile</scope>
127 <groupId>ch.qos.logback</groupId>
128 <artifactId>logback-core</artifactId>
129 <version>${qos.logback.version}</version>
130 <scope>compile</scope>
133 <groupId>com.intellij</groupId>
134 <artifactId>annotations</artifactId>
135 <version>${annotations.version}</version>
138 <groupId>javax.servlet</groupId>
139 <artifactId>javax.servlet-api</artifactId>
140 <version>${javax.servlet-api.version}</version>
141 <scope>compile</scope>
144 <groupId>javax.mail</groupId>
145 <artifactId>javax.mail-api</artifactId>
146 <version>${javax.mail-api.version}</version>
149 <groupId>org.eclipse.jetty</groupId>
150 <artifactId>jetty-server</artifactId>
151 <version>${jetty.version}</version>
154 <groupId>org.eclipse.jetty</groupId>
155 <artifactId>jetty-continuation</artifactId>
156 <version>9.4.49.v20220914</version>
159 <groupId>org.eclipse.jetty</groupId>
160 <artifactId>jetty-util</artifactId>
161 <version>${jetty.version}</version>
164 <groupId>org.eclipse.jetty</groupId>
165 <artifactId>jetty-servlet</artifactId>
166 <version>${jetty.version}</version>
169 <groupId>org.eclipse.jetty</groupId>
170 <artifactId>jetty-http</artifactId>
171 <version>${jetty.version}</version>
174 <groupId>org.eclipse.jetty</groupId>
175 <artifactId>jetty-io</artifactId>
176 <version>${jetty.version}</version>
179 <groupId>org.eclipse.jetty.cdi</groupId>
180 <artifactId>cdi-websocket</artifactId>
181 <version>${jetty.version}</version>
184 <groupId>commons-io</groupId>
185 <artifactId>commons-io</artifactId>
186 <version>${commons-io.version}</version>
187 <scope>compile</scope>
190 <groupId>org.apache.httpcomponents</groupId>
191 <artifactId>httpcore</artifactId>
192 <version>${httpcore.version}</version>
195 <groupId>org.apache.httpcomponents</groupId>
196 <artifactId>httpclient</artifactId>
197 <version>${httpclient.version}</version>
200 <groupId>org.sonatype.http-testing-harness</groupId>
201 <artifactId>junit-runner</artifactId>
202 <version>${junit-runner.version}</version>
206 <groupId>org.databene</groupId>
207 <artifactId>contiperf</artifactId>
210 <groupId>com.thoughtworks.xstream</groupId>
211 <artifactId>xstream</artifactId>
216 <groupId>junit</groupId>
217 <artifactId>junit</artifactId>
218 <version>${junit.version}</version>
222 <groupId>org.hamcrest</groupId>
223 <artifactId>hamcrest-all</artifactId>
224 <version>${hamcrest-lib.version}</version>
228 <groupId>org.mockito</groupId>
229 <artifactId>mockito-core</artifactId>
230 <version>${mockito-core.version}</version>
234 <groupId>net.bytebuddy</groupId>
235 <artifactId>byte-buddy</artifactId>
236 <version>${byte-buddy-version}</version>
240 <groupId>net.bytebuddy</groupId>
241 <artifactId>byte-buddy-agent</artifactId>
242 <version>${byte-buddy-version}</version>
246 <groupId>org.objenesis</groupId>
247 <artifactId>objenesis</artifactId>
248 <version>3.1</version>
252 <groupId>org.javassist</groupId>
253 <artifactId>javassist</artifactId>
254 <version>3.27.0-GA</version>
258 <groupId>org.powermock</groupId>
259 <artifactId>powermock-api-mockito2</artifactId>
260 <version>${powermock.version}</version>
263 <groupId>org.powermock</groupId>
264 <artifactId>powermock-module-junit4</artifactId>
265 <version>${powermock.version}</version>
269 <groupId>org.powermock</groupId>
270 <artifactId>powermock-api-support</artifactId>
271 <version>${powermock.version}</version>
275 <groupId>org.powermock</groupId>
276 <artifactId>powermock-core</artifactId>
277 <version>${powermock.version}</version>
281 <groupId>org.powermock</groupId>
282 <artifactId>powermock-module-junit4-rule</artifactId>
283 <version>${powermock.version}</version>
287 </dependencyManagement>
291 <groupId>org.apache.maven.plugins</groupId>
292 <artifactId>maven-surefire-plugin</artifactId>
295 <exclude>IntegrationSuite.java</exclude>
298 ${surefireArgLine} --illegal-access=permit
303 <groupId>org.apache.maven.plugins</groupId>
304 <artifactId>maven-failsafe-plugin</artifactId>
307 --illegal-access=permit
312 <groupId>org.codehaus.mojo</groupId>
313 <artifactId>flatten-maven-plugin</artifactId>
314 <version>1.0.1</version>
316 <updatePomFile>true</updatePomFile>
317 <outputDirectory>target</outputDirectory>
322 <phase>process-resources</phase>
330 <artifactId>maven-checkstyle-plugin</artifactId>
333 <id>onap-java-style</id>
335 <consoleOutput>false</consoleOutput>
344 <groupId>org.apache.maven.plugins</groupId>
345 <artifactId>maven-compiler-plugin</artifactId>
347 <source>${maven.compiler.source}</source>
348 <target>${maven.compiler.target}</target>
352 <groupId>org.apache.maven.plugins</groupId>
353 <artifactId>maven-dependency-plugin</artifactId>
354 <version>2.10</version>
357 <id>copy-dependencies</id>
359 <goal>copy-dependencies</goal>
362 <overWriteReleases>false</overWriteReleases>
363 <overWriteSnapshots>false</overWriteSnapshots>
364 <overWriteIfNewer>true</overWriteIfNewer>
370 <groupId>org.apache.maven.plugins</groupId>
371 <artifactId>maven-javadoc-plugin</artifactId>
372 <version>3.3.1</version>
374 <failOnError>false</failOnError>
378 <id>attach-javadocs</id>
386 <groupId>org.apache.maven.plugins</groupId>
387 <artifactId>maven-source-plugin</artifactId>
388 <version>2.2.1</version>
391 <id>attach-sources</id>
393 <goal>jar-no-fork</goal>
399 <groupId>org.codehaus.mojo</groupId>
400 <artifactId>cobertura-maven-plugin</artifactId>
401 <version>2.7</version>
404 <format>html</format>
411 <groupId>org.codehaus.gmaven</groupId>
412 <artifactId>gmaven-plugin</artifactId>
413 <version>${gmaven-plugin.version}</version>
416 <phase>validate</phase>
422 <ver>${project.version}</ver>
424 <!-- Setup image tags per https://wiki.onap.org/display/DW/Independent+Versioning+and+Release+Process#IndependentVersioningandReleaseProcess-StandardizedDockerTagging -->
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'];
431 project.properties['dockertag1']=project.properties['ver'] + "-STAGING-latest";
432 project.properties['dockertag2']=project.properties['ver'] + "-STAGING-" + project.properties['timestamp'];
434 println 'docker tag 1: ' + project.properties['dockertag1'];
435 println 'docker tag 2: ' + project.properties['dockertag2'];
442 <groupId>io.fabric8</groupId>
443 <artifactId>docker-maven-plugin</artifactId>
444 <version>${io.fabric8.version}</version>
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>
454 <groupId>org.codehaus.mojo</groupId>
455 <artifactId>properties-maven-plugin</artifactId>
456 <version>1.0.0</version>
459 <phase>validate</phase>
461 <goal>read-project-properties</goal>
465 <file>../version.properties</file>
476 <id>onap-plugin-snapshots</id>
477 <url>${onap.nexus.url}${snapshotNexusPath}</url>
479 </pluginRepositories>