blob: 5f239d751a74eb46f9278e77e481486bc936c2cb [file] [log] [blame]
Gary Wu6454abb2018-08-24 15:22:40 -07001<?xml version="1.0"?>
ajay_dp0013cd892b2021-01-28 19:36:09 +05302<!--
3 ============LICENSE_START==============================================
4 org.onap.dmaap
5 =======================================================================
6 Copyright © 2017 AT&T Intellectual Property. 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
Varun Gudisena7d45c172017-08-31 10:44:28 -050011
ajay_dp0013cd892b2021-01-28 19:36:09 +053012 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 ECOMP is a trademark and service mark of AT&T Intellectual Property.
21-->
22<project xmlns="http://maven.apache.org/POM/4.0.0"
23 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
24 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
25
26 <modelVersion>4.0.0</modelVersion>
27 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
28 <artifactId>dmaapClient</artifactId>
29 <packaging>jar</packaging>
efiacor69a25132022-12-05 17:32:10 +000030 <version>1.1.15-SNAPSHOT</version>
ajay_dp0013cd892b2021-01-28 19:36:09 +053031 <name>dmaap-messagerouter-dmaapclient</name>
32 <description>Client library for MR event routing API</description>
33 <url>https://gerrit.onap.org/r/gitweb?p=dmaap/messagerouter/dmaapclient.git</url>
34
35 <parent>
36 <groupId>org.onap.oparent</groupId>
37 <artifactId>oparent</artifactId>
38 <version>3.2.0</version>
39 </parent>
40
41 <properties>
efiacor1e0b9be2021-12-14 12:12:11 +000042 <jersey.version>2.34</jersey.version>
ajay_dp0013cd892b2021-01-28 19:36:09 +053043 <version.jackson.core>2.6.7.1</version.jackson.core>
44 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
sunil unnava5056c3d2018-10-26 12:17:29 -040045 <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
ajay_dp0013cd892b2021-01-28 19:36:09 +053046 <sonar.language>java</sonar.language>
su622bfeeb6d12020-03-11 12:05:22 -040047 <sonar.skip>false</sonar.skip>
ajay_dp0013cd892b2021-01-28 19:36:09 +053048 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports
49 </sonar.surefire.reportsPath>
50 <sonar.coverage.jacoco.xmlReportPaths>
51 ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml
52 </sonar.coverage.jacoco.xmlReportPaths>
su622bfeeb6d12020-03-11 12:05:22 -040053 <sonar.projectVersion>${project.version}</sonar.projectVersion>
ajay_dp0013cd892b2021-01-28 19:36:09 +053054 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**
55 </sonar.exclusions>
56 <sitePath>
57 /content/sites/site/org/onap/dmaap/messagerouter/dmaapclient/${project.artifactId}/${project.version}
58 </sitePath>
59 <nexusproxy>https://nexus.onap.org</nexusproxy>
60 </properties>
Sunil Unnava3ccc06f2018-02-22 16:48:55 -050061
ajay_dp0013cd892b2021-01-28 19:36:09 +053062 <distributionManagement>
63 <site>
64 <id>ecomp-site</id>
65 <url>dav:${nexusproxy}${sitePath}</url>
66 </site>
67 </distributionManagement>
Varun Gudisenacc9de9b2017-08-30 20:49:32 -050068
ajay_dp0013cd892b2021-01-28 19:36:09 +053069 <licenses>
70 <license>
71 <name>Apache License Version 2.0</name>
72 </license>
73 </licenses>
Varun Gudisenacc9de9b2017-08-30 20:49:32 -050074
ajay_dp0013cd892b2021-01-28 19:36:09 +053075 <developers>
76 <developer>
77 <name>Rajashree</name>
78 <email/>
79 <organization>ATT</organization>
80 <organizationUrl>www.att.com</organizationUrl>
81 </developer>
82 <developer>
83 <name>Ramkumar</name>
84 <email/>
85 <organization>ATT</organization>
86 <organizationUrl>www.att.com</organizationUrl>
87 </developer>
88 </developers>
Varun Gudisenacc9de9b2017-08-30 20:49:32 -050089
ajay_dp0013cd892b2021-01-28 19:36:09 +053090 <dependencies>
91 <dependency>
92 <groupId>commons-codec</groupId>
93 <artifactId>commons-codec</artifactId>
Ravi Pendurty8a00d432021-04-09 06:01:43 +020094 <version>1.15</version>
ajay_dp0013cd892b2021-01-28 19:36:09 +053095 </dependency>
96 <dependency>
su622ba04e69e2020-09-09 13:25:36 -040097 <groupId>org.javassist</groupId>
98 <artifactId>javassist</artifactId>
Ravi Pendurty8a00d432021-04-09 06:01:43 +020099 <version>3.27.0-GA</version>
su622ba04e69e2020-09-09 13:25:36 -0400100 </dependency>
ajay_dp0013cd892b2021-01-28 19:36:09 +0530101 <dependency>
102 <groupId>com.fasterxml.jackson.core</groupId>
103 <artifactId>jackson-core</artifactId>
104 <version>2.11.2</version>
105 </dependency>
106 <dependency>
107 <groupId>com.fasterxml.jackson.core</groupId>
108 <artifactId>jackson-databind</artifactId>
efiacor93669062022-09-21 10:18:02 +0100109 <version>2.13.3</version>
ajay_dp0013cd892b2021-01-28 19:36:09 +0530110 </dependency>
111 <dependency>
112 <groupId>org.apache.httpcomponents</groupId>
113 <artifactId>httpclient-cache</artifactId>
114 <version>4.5.13</version>
115 </dependency>
116 <dependency>
117 <groupId>com.att.nsa</groupId>
118 <artifactId>saClientLibrary</artifactId>
119 <version>0.0.1</version>
120 </dependency>
121 <dependency>
122 <groupId>org.json</groupId>
123 <artifactId>json</artifactId>
efiacor93669062022-09-21 10:18:02 +0100124 <version>20220320</version>
ajay_dp0013cd892b2021-01-28 19:36:09 +0530125 </dependency>
126 <dependency>
127 <groupId>com.att.aft</groupId>
128 <artifactId>dme2</artifactId>
129 <version>3.1.200-oss</version>
130 <exclusions>
131 <exclusion>
132 <groupId>com.sun.jersey</groupId>
133 <artifactId>jersey-json</artifactId>
134 </exclusion>
135 <exclusion>
136 <groupId>com.sun.jersey</groupId>
137 <artifactId>jersey-client</artifactId>
138 </exclusion>
139 <exclusion>
140 <groupId>javax.jms</groupId>
141 <artifactId>jms</artifactId>
142 </exclusion>
143 </exclusions>
144 </dependency>
Ravi Pendurty8a00d432021-04-09 06:01:43 +0200145 <dependency>
146 <groupId>jakarta.xml.bind</groupId>
147 <artifactId>jakarta.xml.bind-api</artifactId>
148 <version>2.3.2</version>
149 </dependency>
150 <!-- Runtime, com.sun.xml.bind module -->
151 <dependency>
152 <groupId>org.glassfish.jaxb</groupId>
153 <artifactId>jaxb-runtime</artifactId>
154 <version>2.3.2</version>
155 </dependency>
ajay_dp0013cd892b2021-01-28 19:36:09 +0530156 <dependency>
157 <groupId>commons-io</groupId>
158 <artifactId>commons-io</artifactId>
159 <version>2.7</version>
160 </dependency>
161 <dependency>
162 <groupId>javax.ws.rs</groupId>
163 <artifactId>javax.ws.rs-api</artifactId>
164 <version>2.0.1</version>
165 </dependency>
166 <dependency>
167 <groupId>org.glassfish.jersey.core</groupId>
168 <artifactId>jersey-common</artifactId>
169 <version>${jersey.version}</version>
170 </dependency>
171 <dependency>
Ravi Pendurtyabe46812021-04-06 11:41:09 +0200172 <groupId>org.glassfish.jersey.connectors</groupId>
173 <artifactId>jersey-apache-connector</artifactId>
efiacor1e0b9be2021-12-14 12:12:11 +0000174 <version>${jersey.version}</version>
Ravi Pendurtyabe46812021-04-06 11:41:09 +0200175 </dependency>
176 <dependency>
ajay_dp0013cd892b2021-01-28 19:36:09 +0530177 <groupId>org.glassfish.jersey.core</groupId>
178 <artifactId>jersey-client</artifactId>
179 <version>${jersey.version}</version>
180 </dependency>
181 <dependency>
182 <groupId>org.glassfish.jersey.media</groupId>
183 <artifactId>jersey-media-json-jackson</artifactId>
184 <version>${jersey.version}</version>
185 </dependency>
186 <dependency>
seanfos34db7e22021-07-06 16:35:23 +0100187 <groupId>org.glassfish.jersey.inject</groupId>
188 <artifactId>jersey-hk2</artifactId>
189 <version>${jersey.version}</version>
190 <exclusions>
191 <exclusion>
192 <groupId>org.glassfish.hk2.external</groupId>
193 <artifactId>javax.inject</artifactId>
194 </exclusion>
195 <exclusion>
196 <groupId>javax.annotation</groupId>
197 <artifactId>javax.annotation-api</artifactId>
198 </exclusion>
199 <exclusion>
200 <groupId>org.javassist</groupId>
201 <artifactId>javassist</artifactId>
202 </exclusion>
203 </exclusions>
204 </dependency>
205 <dependency>
ajay_dp0013cd892b2021-01-28 19:36:09 +0530206 <groupId>junit</groupId>
207 <artifactId>junit</artifactId>
208 <version>4.11</version>
209 <scope>test</scope>
210 </dependency>
211 <dependency>
212 <groupId>com.github.tomakehurst</groupId>
213 <artifactId>wiremock</artifactId>
214 <version>2.5.0</version>
215 <scope>test</scope>
216 </dependency>
217 <dependency>
218 <groupId>org.mockito</groupId>
219 <artifactId>mockito-core</artifactId>
Ravi Pendurty8a00d432021-04-09 06:01:43 +0200220 <version>2.18.0</version>
ajay_dp0013cd892b2021-01-28 19:36:09 +0530221 <scope>test</scope>
222 </dependency>
223 <dependency>
224 <groupId>org.powermock</groupId>
225 <artifactId>powermock-module-junit4</artifactId>
Ravi Pendurty8a00d432021-04-09 06:01:43 +0200226 <version>2.0.0-beta.5</version>
ajay_dp0013cd892b2021-01-28 19:36:09 +0530227 <scope>test</scope>
228 </dependency>
229 <dependency>
230 <groupId>org.powermock</groupId>
Ravi Pendurty8a00d432021-04-09 06:01:43 +0200231 <artifactId>powermock-api-mockito2</artifactId>
232 <version>2.0.0-beta.5</version>
ajay_dp0013cd892b2021-01-28 19:36:09 +0530233 <scope>test</scope>
234 </dependency>
235 <dependency>
236 <groupId>org.springframework</groupId>
237 <artifactId>spring-test</artifactId>
238 <version>3.0.5.RELEASE</version>
239 <scope>test</scope>
240 </dependency>
241 </dependencies>
Varun Gudisenacc9de9b2017-08-30 20:49:32 -0500242
ajay_dp0013cd892b2021-01-28 19:36:09 +0530243 <build>
244 <resources>
245 <resource>
246 <directory>src/main/resources</directory>
247 <filtering>true</filtering>
248 <includes>
249 <include>**/MRClientVersion.properties</include>
250 </includes>
251 </resource>
252 <resource>
253 <directory>src/main/resources</directory>
254 <filtering>false</filtering>
255 <excludes>
256 <exclude>**/MRClientVersion.properties</exclude>
257 </excludes>
258 </resource>
259 </resources>
260 <plugins>
261 <plugin>
262 <groupId>org.apache.maven.plugins</groupId>
263 <artifactId>maven-site-plugin</artifactId>
264 <version>3.6</version>
265 <dependencies>
266 <dependency>
267 <groupId>org.apache.maven.wagon</groupId>
268 <artifactId>wagon-webdav-jackrabbit</artifactId>
269 <version>2.10</version>
270 </dependency>
271 </dependencies>
272 </plugin>
273 <plugin>
sliarde8246bd2021-04-23 16:50:26 +0200274 <groupId>org.apache.maven.plugins</groupId>
275 <artifactId>maven-compiler-plugin</artifactId>
276 <configuration>
277 <source>11</source>
278 <target>11</target>
279 </configuration>
280 </plugin>
281 <plugin>
ajay_dp0013cd892b2021-01-28 19:36:09 +0530282 <artifactId>maven-assembly-plugin</artifactId>
283 <version>2.4</version>
284 <configuration>
285 <descriptorRefs>
286 <descriptorRef>jar-with-dependencies</descriptorRef>
287 </descriptorRefs>
288 </configuration>
Varun Gudisenacc9de9b2017-08-30 20:49:32 -0500289
ajay_dp0013cd892b2021-01-28 19:36:09 +0530290 <executions>
291 <execution>
292 <id>make-assembly</id> <!-- this is used for inheritance merges -->
293 <phase>package</phase> <!-- bind to the packaging phase -->
294 <goals>
295 <goal>single</goal>
296 </goals>
297 </execution>
298 </executions>
299 </plugin>
300 <plugin>
301 <artifactId>maven-checkstyle-plugin</artifactId>
302 <executions>
303 <execution>
304 <id>onap-java-style</id>
305 <configuration>
306 <consoleOutput>false</consoleOutput>
307 </configuration>
308 </execution>
309 </executions>
310 </plugin>
311 <plugin>
312 <groupId>org.apache.maven.plugins</groupId>
313 <artifactId>maven-javadoc-plugin</artifactId>
efiacor1e0b9be2021-12-14 12:12:11 +0000314 <version>3.3.1</version>
ajay_dp0013cd892b2021-01-28 19:36:09 +0530315 <configuration>
sliard72a9ab92021-04-12 15:58:22 +0200316 <failOnError>false</failOnError>
Ravi Pendurty8a00d432021-04-09 06:01:43 +0200317 <detectJavaApiLink>false</detectJavaApiLink>
ajay_dp0013cd892b2021-01-28 19:36:09 +0530318 <additionalparam>-Xdoclint:none</additionalparam>
319 </configuration>
320 <executions>
321 <execution>
322 <id>attach-javadocs</id>
323 <goals>
324 <goal>jar</goal>
325 </goals>
326 </execution>
327 </executions>
328 </plugin>
329 <plugin>
330 <groupId>org.apache.maven.plugins</groupId>
331 <artifactId>maven-source-plugin</artifactId>
332 <version>3.0.0</version>
333 <executions>
334 <execution>
335 <id>attach-sources</id>
336 <goals>
337 <goal>jar-no-fork</goal>
338 </goals>
339 </execution>
340 </executions>
341 </plugin>
ajay_dp0013cd892b2021-01-28 19:36:09 +0530342 <plugin>
343 <groupId>org.jacoco</groupId>
344 <artifactId>jacoco-maven-plugin</artifactId>
345 <executions>
346 <execution>
347 <id>prepare-agent</id>
348 <goals>
349 <goal>prepare-agent</goal>
350 </goals>
351 </execution>
352 <execution>
353 <id>report</id>
354 <goals>
355 <goal>report</goal>
356 </goals>
357 <configuration>
358 <dataFile>${project.build.directory}/code-coverage/jacoco.exec
359 </dataFile>
360 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut
361 </outputDirectory>
362 </configuration>
363 </execution>
364 </executions>
365 </plugin>
366 </plugins>
367 </build>
Varun Gudisenacc9de9b2017-08-30 20:49:32 -0500368
ajay_dp0013cd892b2021-01-28 19:36:09 +0530369 <profiles>
370 <!-- Add plugins here that should only be executed on the Jenkins server -->
371 <profile>
372 <id>jenkins</id>
373 <activation>
374 <property>
375 <name>env.BUILD_NUMBER</name>
376 </property>
377 </activation>
378 <build>
379 <plugins>
380 <plugin>
381 <groupId>org.codehaus.mojo</groupId>
382 <artifactId>cobertura-maven-plugin</artifactId>
383 </plugin>
384 </plugins>
385 </build>
386 </profile>
387 </profiles>
Varun Gudisenacc9de9b2017-08-30 20:49:32 -0500388</project>