blob: 3555fd40b7e8424eb9e615371869ede86040c49a [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>
Ravi Pendurty8a00d432021-04-09 06:01:43 +020030 <version>1.1.13-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>
Ravi Pendurty8a00d432021-04-09 06:01:43 +020042 <jersey.version>2.27</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>
109 <version>2.11.2</version>
110 </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>
124 <version>20131018</version>
125 </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>
145 <!-- Begin - Dependency on log4j for logging purpose -->
146 <!-- <dependency>
147 <groupId>log4j</groupId>
148 <artifactId>log4j</artifactId>
149 <version>1.2.17</version>
150 </dependency>
151 Log4j's enhanced pattern layout is shipped separately
152 <dependency>
153 <groupId>log4j</groupId>
154 <artifactId>apache-log4j-extras</artifactId>
155 <version>1.2.17</version>
156 </dependency> -->
157 <!-- End - Dependency on log4j for logging purpose -->
Ravi Pendurty8a00d432021-04-09 06:01:43 +0200158 <!-- API, java.xml.bind module -->
159 <dependency>
160 <groupId>jakarta.xml.bind</groupId>
161 <artifactId>jakarta.xml.bind-api</artifactId>
162 <version>2.3.2</version>
163 </dependency>
164 <!-- Runtime, com.sun.xml.bind module -->
165 <dependency>
166 <groupId>org.glassfish.jaxb</groupId>
167 <artifactId>jaxb-runtime</artifactId>
168 <version>2.3.2</version>
169 </dependency>
ajay_dp0013cd892b2021-01-28 19:36:09 +0530170 <dependency>
171 <groupId>commons-io</groupId>
172 <artifactId>commons-io</artifactId>
173 <version>2.7</version>
174 </dependency>
175 <dependency>
176 <groupId>javax.ws.rs</groupId>
177 <artifactId>javax.ws.rs-api</artifactId>
178 <version>2.0.1</version>
179 </dependency>
180 <dependency>
181 <groupId>org.glassfish.jersey.core</groupId>
182 <artifactId>jersey-common</artifactId>
183 <version>${jersey.version}</version>
184 </dependency>
185 <dependency>
Ravi Pendurtyabe46812021-04-06 11:41:09 +0200186 <groupId>org.glassfish.jersey.connectors</groupId>
187 <artifactId>jersey-apache-connector</artifactId>
188 <version>2.29.1</version>
189 </dependency>
190 <dependency>
ajay_dp0013cd892b2021-01-28 19:36:09 +0530191 <groupId>org.glassfish.jersey.core</groupId>
192 <artifactId>jersey-client</artifactId>
193 <version>${jersey.version}</version>
194 </dependency>
195 <dependency>
196 <groupId>org.glassfish.jersey.media</groupId>
197 <artifactId>jersey-media-json-jackson</artifactId>
198 <version>${jersey.version}</version>
199 </dependency>
200 <dependency>
201 <groupId>junit</groupId>
202 <artifactId>junit</artifactId>
203 <version>4.11</version>
204 <scope>test</scope>
205 </dependency>
206 <dependency>
207 <groupId>com.github.tomakehurst</groupId>
208 <artifactId>wiremock</artifactId>
209 <version>2.5.0</version>
210 <scope>test</scope>
211 </dependency>
212 <dependency>
213 <groupId>org.mockito</groupId>
214 <artifactId>mockito-core</artifactId>
Ravi Pendurty8a00d432021-04-09 06:01:43 +0200215 <version>2.18.0</version>
ajay_dp0013cd892b2021-01-28 19:36:09 +0530216 <scope>test</scope>
217 </dependency>
218 <dependency>
219 <groupId>org.powermock</groupId>
220 <artifactId>powermock-module-junit4</artifactId>
Ravi Pendurty8a00d432021-04-09 06:01:43 +0200221 <version>2.0.0-beta.5</version>
ajay_dp0013cd892b2021-01-28 19:36:09 +0530222 <scope>test</scope>
223 </dependency>
224 <dependency>
225 <groupId>org.powermock</groupId>
Ravi Pendurty8a00d432021-04-09 06:01:43 +0200226 <artifactId>powermock-api-mockito2</artifactId>
227 <version>2.0.0-beta.5</version>
ajay_dp0013cd892b2021-01-28 19:36:09 +0530228 <scope>test</scope>
229 </dependency>
230 <dependency>
231 <groupId>org.springframework</groupId>
232 <artifactId>spring-test</artifactId>
233 <version>3.0.5.RELEASE</version>
234 <scope>test</scope>
235 </dependency>
236 </dependencies>
Varun Gudisenacc9de9b2017-08-30 20:49:32 -0500237
ajay_dp0013cd892b2021-01-28 19:36:09 +0530238 <build>
239 <resources>
240 <resource>
241 <directory>src/main/resources</directory>
242 <filtering>true</filtering>
243 <includes>
244 <include>**/MRClientVersion.properties</include>
245 </includes>
246 </resource>
247 <resource>
248 <directory>src/main/resources</directory>
249 <filtering>false</filtering>
250 <excludes>
251 <exclude>**/MRClientVersion.properties</exclude>
252 </excludes>
253 </resource>
254 </resources>
255 <plugins>
256 <plugin>
257 <groupId>org.apache.maven.plugins</groupId>
258 <artifactId>maven-site-plugin</artifactId>
259 <version>3.6</version>
260 <dependencies>
261 <dependency>
262 <groupId>org.apache.maven.wagon</groupId>
263 <artifactId>wagon-webdav-jackrabbit</artifactId>
264 <version>2.10</version>
265 </dependency>
266 </dependencies>
267 </plugin>
268 <plugin>
269 <artifactId>maven-assembly-plugin</artifactId>
270 <version>2.4</version>
271 <configuration>
272 <descriptorRefs>
273 <descriptorRef>jar-with-dependencies</descriptorRef>
274 </descriptorRefs>
275 </configuration>
Varun Gudisenacc9de9b2017-08-30 20:49:32 -0500276
ajay_dp0013cd892b2021-01-28 19:36:09 +0530277 <executions>
278 <execution>
279 <id>make-assembly</id> <!-- this is used for inheritance merges -->
280 <phase>package</phase> <!-- bind to the packaging phase -->
281 <goals>
282 <goal>single</goal>
283 </goals>
284 </execution>
285 </executions>
286 </plugin>
287 <plugin>
288 <artifactId>maven-checkstyle-plugin</artifactId>
289 <executions>
290 <execution>
291 <id>onap-java-style</id>
292 <configuration>
293 <consoleOutput>false</consoleOutput>
294 </configuration>
295 </execution>
296 </executions>
297 </plugin>
298 <plugin>
299 <groupId>org.apache.maven.plugins</groupId>
300 <artifactId>maven-javadoc-plugin</artifactId>
301 <version>2.10.4</version>
302 <configuration>
Ravi Pendurty8a00d432021-04-09 06:01:43 +0200303 <detectJavaApiLink>false</detectJavaApiLink>
ajay_dp0013cd892b2021-01-28 19:36:09 +0530304 <additionalparam>-Xdoclint:none</additionalparam>
305 </configuration>
306 <executions>
307 <execution>
308 <id>attach-javadocs</id>
309 <goals>
310 <goal>jar</goal>
311 </goals>
312 </execution>
313 </executions>
314 </plugin>
315 <plugin>
316 <groupId>org.apache.maven.plugins</groupId>
317 <artifactId>maven-source-plugin</artifactId>
318 <version>3.0.0</version>
319 <executions>
320 <execution>
321 <id>attach-sources</id>
322 <goals>
323 <goal>jar-no-fork</goal>
324 </goals>
325 </execution>
326 </executions>
327 </plugin>
Ravi Pendurty8a00d432021-04-09 06:01:43 +0200328 <!--<plugin>
ajay_dp0013cd892b2021-01-28 19:36:09 +0530329 <artifactId>maven-compiler-plugin</artifactId>
Ravi Pendurty8a00d432021-04-09 06:01:43 +0200330 <version>3.8.1</version>
ajay_dp0013cd892b2021-01-28 19:36:09 +0530331 <configuration>
Ravi Pendurty8a00d432021-04-09 06:01:43 +0200332 <release>11</release>
ajay_dp0013cd892b2021-01-28 19:36:09 +0530333 </configuration>
Ravi Pendurty8a00d432021-04-09 06:01:43 +0200334 </plugin>-->
ajay_dp0013cd892b2021-01-28 19:36:09 +0530335 <plugin>
336 <groupId>org.jacoco</groupId>
337 <artifactId>jacoco-maven-plugin</artifactId>
338 <executions>
339 <execution>
340 <id>prepare-agent</id>
341 <goals>
342 <goal>prepare-agent</goal>
343 </goals>
344 </execution>
345 <execution>
346 <id>report</id>
347 <goals>
348 <goal>report</goal>
349 </goals>
350 <configuration>
351 <dataFile>${project.build.directory}/code-coverage/jacoco.exec
352 </dataFile>
353 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut
354 </outputDirectory>
355 </configuration>
356 </execution>
357 </executions>
358 </plugin>
359 </plugins>
360 </build>
Varun Gudisenacc9de9b2017-08-30 20:49:32 -0500361
ajay_dp0013cd892b2021-01-28 19:36:09 +0530362 <profiles>
363 <!-- Add plugins here that should only be executed on the Jenkins server -->
364 <profile>
365 <id>jenkins</id>
366 <activation>
367 <property>
368 <name>env.BUILD_NUMBER</name>
369 </property>
370 </activation>
371 <build>
372 <plugins>
373 <plugin>
374 <groupId>org.codehaus.mojo</groupId>
375 <artifactId>cobertura-maven-plugin</artifactId>
376 </plugin>
377 </plugins>
378 </build>
379 </profile>
380 </profiles>
Varun Gudisenacc9de9b2017-08-30 20:49:32 -0500381</project>