blob: 134971a19e794e381e2cc3c4080b77524443b6bf [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>
30 <version>1.1.12-SNAPSHOT</version>
31 <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>
42 <!-- for the client library, we want to allow 1.6 or later -->
43 <maven.compiler.target>1.7</maven.compiler.target>
44 <maven.compiler.source>1.7</maven.compiler.source>
45 <jersey.version>2.22.1</jersey.version>
46 <version.jackson.core>2.6.7.1</version.jackson.core>
47 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
sunil unnava5056c3d2018-10-26 12:17:29 -040048 <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
ajay_dp0013cd892b2021-01-28 19:36:09 +053049 <sonar.language>java</sonar.language>
su622bfeeb6d12020-03-11 12:05:22 -040050 <sonar.skip>false</sonar.skip>
ajay_dp0013cd892b2021-01-28 19:36:09 +053051 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports
52 </sonar.surefire.reportsPath>
53 <sonar.coverage.jacoco.xmlReportPaths>
54 ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml
55 </sonar.coverage.jacoco.xmlReportPaths>
su622bfeeb6d12020-03-11 12:05:22 -040056 <sonar.projectVersion>${project.version}</sonar.projectVersion>
ajay_dp0013cd892b2021-01-28 19:36:09 +053057 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**
58 </sonar.exclusions>
59 <sitePath>
60 /content/sites/site/org/onap/dmaap/messagerouter/dmaapclient/${project.artifactId}/${project.version}
61 </sitePath>
62 <nexusproxy>https://nexus.onap.org</nexusproxy>
63 </properties>
Sunil Unnava3ccc06f2018-02-22 16:48:55 -050064
ajay_dp0013cd892b2021-01-28 19:36:09 +053065 <distributionManagement>
66 <site>
67 <id>ecomp-site</id>
68 <url>dav:${nexusproxy}${sitePath}</url>
69 </site>
70 </distributionManagement>
Varun Gudisenacc9de9b2017-08-30 20:49:32 -050071
ajay_dp0013cd892b2021-01-28 19:36:09 +053072 <licenses>
73 <license>
74 <name>Apache License Version 2.0</name>
75 </license>
76 </licenses>
Varun Gudisenacc9de9b2017-08-30 20:49:32 -050077
ajay_dp0013cd892b2021-01-28 19:36:09 +053078 <developers>
79 <developer>
80 <name>Rajashree</name>
81 <email/>
82 <organization>ATT</organization>
83 <organizationUrl>www.att.com</organizationUrl>
84 </developer>
85 <developer>
86 <name>Ramkumar</name>
87 <email/>
88 <organization>ATT</organization>
89 <organizationUrl>www.att.com</organizationUrl>
90 </developer>
91 </developers>
Varun Gudisenacc9de9b2017-08-30 20:49:32 -050092
ajay_dp0013cd892b2021-01-28 19:36:09 +053093 <dependencies>
94 <dependency>
95 <groupId>commons-codec</groupId>
96 <artifactId>commons-codec</artifactId>
97 <version>1.14</version>
98 </dependency>
99 <dependency>
su622ba04e69e2020-09-09 13:25:36 -0400100 <groupId>org.javassist</groupId>
101 <artifactId>javassist</artifactId>
102 <version>3.20.0-GA</version>
103 </dependency>
ajay_dp0013cd892b2021-01-28 19:36:09 +0530104 <dependency>
105 <groupId>com.fasterxml.jackson.core</groupId>
106 <artifactId>jackson-core</artifactId>
107 <version>2.11.2</version>
108 </dependency>
109 <dependency>
110 <groupId>com.fasterxml.jackson.core</groupId>
111 <artifactId>jackson-databind</artifactId>
112 <version>2.11.2</version>
113 </dependency>
114 <dependency>
115 <groupId>org.apache.httpcomponents</groupId>
116 <artifactId>httpclient-cache</artifactId>
117 <version>4.5.13</version>
118 </dependency>
119 <dependency>
120 <groupId>com.att.nsa</groupId>
121 <artifactId>saClientLibrary</artifactId>
122 <version>0.0.1</version>
123 </dependency>
124 <dependency>
125 <groupId>org.json</groupId>
126 <artifactId>json</artifactId>
127 <version>20131018</version>
128 </dependency>
129 <dependency>
130 <groupId>com.att.aft</groupId>
131 <artifactId>dme2</artifactId>
132 <version>3.1.200-oss</version>
133 <exclusions>
134 <exclusion>
135 <groupId>com.sun.jersey</groupId>
136 <artifactId>jersey-json</artifactId>
137 </exclusion>
138 <exclusion>
139 <groupId>com.sun.jersey</groupId>
140 <artifactId>jersey-client</artifactId>
141 </exclusion>
142 <exclusion>
143 <groupId>javax.jms</groupId>
144 <artifactId>jms</artifactId>
145 </exclusion>
146 </exclusions>
147 </dependency>
148 <!-- Begin - Dependency on log4j for logging purpose -->
149 <!-- <dependency>
150 <groupId>log4j</groupId>
151 <artifactId>log4j</artifactId>
152 <version>1.2.17</version>
153 </dependency>
154 Log4j's enhanced pattern layout is shipped separately
155 <dependency>
156 <groupId>log4j</groupId>
157 <artifactId>apache-log4j-extras</artifactId>
158 <version>1.2.17</version>
159 </dependency> -->
160 <!-- End - Dependency on log4j for logging purpose -->
Varun Gudisenacc9de9b2017-08-30 20:49:32 -0500161
ajay_dp0013cd892b2021-01-28 19:36:09 +0530162 <dependency>
163 <groupId>commons-io</groupId>
164 <artifactId>commons-io</artifactId>
165 <version>2.7</version>
166 </dependency>
167 <dependency>
168 <groupId>javax.ws.rs</groupId>
169 <artifactId>javax.ws.rs-api</artifactId>
170 <version>2.0.1</version>
171 </dependency>
172 <dependency>
173 <groupId>org.glassfish.jersey.core</groupId>
174 <artifactId>jersey-common</artifactId>
175 <version>${jersey.version}</version>
176 </dependency>
177 <dependency>
Ravi Pendurtyabe46812021-04-06 11:41:09 +0200178 <groupId>org.glassfish.jersey.connectors</groupId>
179 <artifactId>jersey-apache-connector</artifactId>
180 <version>2.29.1</version>
181 </dependency>
182 <dependency>
ajay_dp0013cd892b2021-01-28 19:36:09 +0530183 <groupId>org.glassfish.jersey.core</groupId>
184 <artifactId>jersey-client</artifactId>
185 <version>${jersey.version}</version>
186 </dependency>
187 <dependency>
188 <groupId>org.glassfish.jersey.media</groupId>
189 <artifactId>jersey-media-json-jackson</artifactId>
190 <version>${jersey.version}</version>
191 </dependency>
192 <dependency>
193 <groupId>junit</groupId>
194 <artifactId>junit</artifactId>
195 <version>4.11</version>
196 <scope>test</scope>
197 </dependency>
198 <dependency>
199 <groupId>com.github.tomakehurst</groupId>
200 <artifactId>wiremock</artifactId>
201 <version>2.5.0</version>
202 <scope>test</scope>
203 </dependency>
204 <dependency>
205 <groupId>org.mockito</groupId>
206 <artifactId>mockito-core</artifactId>
207 <version>1.10.19</version>
208 <scope>test</scope>
209 </dependency>
210 <dependency>
211 <groupId>org.powermock</groupId>
212 <artifactId>powermock-module-junit4</artifactId>
213 <version>1.6.4</version>
214 <scope>test</scope>
215 </dependency>
216 <dependency>
217 <groupId>org.powermock</groupId>
218 <artifactId>powermock-api-mockito</artifactId>
219 <version>1.6.4</version>
220 <scope>test</scope>
221 </dependency>
222 <dependency>
223 <groupId>org.springframework</groupId>
224 <artifactId>spring-test</artifactId>
225 <version>3.0.5.RELEASE</version>
226 <scope>test</scope>
227 </dependency>
228 </dependencies>
Varun Gudisenacc9de9b2017-08-30 20:49:32 -0500229
ajay_dp0013cd892b2021-01-28 19:36:09 +0530230 <build>
231 <resources>
232 <resource>
233 <directory>src/main/resources</directory>
234 <filtering>true</filtering>
235 <includes>
236 <include>**/MRClientVersion.properties</include>
237 </includes>
238 </resource>
239 <resource>
240 <directory>src/main/resources</directory>
241 <filtering>false</filtering>
242 <excludes>
243 <exclude>**/MRClientVersion.properties</exclude>
244 </excludes>
245 </resource>
246 </resources>
247 <plugins>
248 <plugin>
249 <groupId>org.apache.maven.plugins</groupId>
250 <artifactId>maven-site-plugin</artifactId>
251 <version>3.6</version>
252 <dependencies>
253 <dependency>
254 <groupId>org.apache.maven.wagon</groupId>
255 <artifactId>wagon-webdav-jackrabbit</artifactId>
256 <version>2.10</version>
257 </dependency>
258 </dependencies>
259 </plugin>
260 <plugin>
261 <artifactId>maven-assembly-plugin</artifactId>
262 <version>2.4</version>
263 <configuration>
264 <descriptorRefs>
265 <descriptorRef>jar-with-dependencies</descriptorRef>
266 </descriptorRefs>
267 </configuration>
Varun Gudisenacc9de9b2017-08-30 20:49:32 -0500268
ajay_dp0013cd892b2021-01-28 19:36:09 +0530269 <executions>
270 <execution>
271 <id>make-assembly</id> <!-- this is used for inheritance merges -->
272 <phase>package</phase> <!-- bind to the packaging phase -->
273 <goals>
274 <goal>single</goal>
275 </goals>
276 </execution>
277 </executions>
278 </plugin>
279 <plugin>
280 <artifactId>maven-checkstyle-plugin</artifactId>
281 <executions>
282 <execution>
283 <id>onap-java-style</id>
284 <configuration>
285 <consoleOutput>false</consoleOutput>
286 </configuration>
287 </execution>
288 </executions>
289 </plugin>
290 <plugin>
291 <groupId>org.apache.maven.plugins</groupId>
292 <artifactId>maven-javadoc-plugin</artifactId>
293 <version>2.10.4</version>
294 <configuration>
295 <additionalparam>-Xdoclint:none</additionalparam>
296 </configuration>
297 <executions>
298 <execution>
299 <id>attach-javadocs</id>
300 <goals>
301 <goal>jar</goal>
302 </goals>
303 </execution>
304 </executions>
305 </plugin>
306 <plugin>
307 <groupId>org.apache.maven.plugins</groupId>
308 <artifactId>maven-source-plugin</artifactId>
309 <version>3.0.0</version>
310 <executions>
311 <execution>
312 <id>attach-sources</id>
313 <goals>
314 <goal>jar-no-fork</goal>
315 </goals>
316 </execution>
317 </executions>
318 </plugin>
319 <plugin>
320 <artifactId>maven-compiler-plugin</artifactId>
321 <version>3.1</version>
322 <configuration>
323 <source>1.7</source>
324 <target>1.7</target>
325 </configuration>
326 </plugin>
327 <plugin>
328 <groupId>org.jacoco</groupId>
329 <artifactId>jacoco-maven-plugin</artifactId>
330 <executions>
331 <execution>
332 <id>prepare-agent</id>
333 <goals>
334 <goal>prepare-agent</goal>
335 </goals>
336 </execution>
337 <execution>
338 <id>report</id>
339 <goals>
340 <goal>report</goal>
341 </goals>
342 <configuration>
343 <dataFile>${project.build.directory}/code-coverage/jacoco.exec
344 </dataFile>
345 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut
346 </outputDirectory>
347 </configuration>
348 </execution>
349 </executions>
350 </plugin>
351 </plugins>
352 </build>
Varun Gudisenacc9de9b2017-08-30 20:49:32 -0500353
ajay_dp0013cd892b2021-01-28 19:36:09 +0530354 <profiles>
355 <!-- Add plugins here that should only be executed on the Jenkins server -->
356 <profile>
357 <id>jenkins</id>
358 <activation>
359 <property>
360 <name>env.BUILD_NUMBER</name>
361 </property>
362 </activation>
363 <build>
364 <plugins>
365 <plugin>
366 <groupId>org.codehaus.mojo</groupId>
367 <artifactId>cobertura-maven-plugin</artifactId>
368 </plugin>
369 </plugins>
370 </build>
371 </profile>
372 </profiles>
Varun Gudisenacc9de9b2017-08-30 20:49:32 -0500373</project>