blob: 3d1785b278aa5fce6dd702c91ca62822e07f3aac [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>
178 <groupId>org.glassfish.jersey.core</groupId>
179 <artifactId>jersey-client</artifactId>
180 <version>${jersey.version}</version>
181 </dependency>
182 <dependency>
183 <groupId>org.glassfish.jersey.media</groupId>
184 <artifactId>jersey-media-json-jackson</artifactId>
185 <version>${jersey.version}</version>
186 </dependency>
187 <dependency>
188 <groupId>junit</groupId>
189 <artifactId>junit</artifactId>
190 <version>4.11</version>
191 <scope>test</scope>
192 </dependency>
193 <dependency>
194 <groupId>com.github.tomakehurst</groupId>
195 <artifactId>wiremock</artifactId>
196 <version>2.5.0</version>
197 <scope>test</scope>
198 </dependency>
199 <dependency>
200 <groupId>org.mockito</groupId>
201 <artifactId>mockito-core</artifactId>
202 <version>1.10.19</version>
203 <scope>test</scope>
204 </dependency>
205 <dependency>
206 <groupId>org.powermock</groupId>
207 <artifactId>powermock-module-junit4</artifactId>
208 <version>1.6.4</version>
209 <scope>test</scope>
210 </dependency>
211 <dependency>
212 <groupId>org.powermock</groupId>
213 <artifactId>powermock-api-mockito</artifactId>
214 <version>1.6.4</version>
215 <scope>test</scope>
216 </dependency>
217 <dependency>
218 <groupId>org.springframework</groupId>
219 <artifactId>spring-test</artifactId>
220 <version>3.0.5.RELEASE</version>
221 <scope>test</scope>
222 </dependency>
223 </dependencies>
Varun Gudisenacc9de9b2017-08-30 20:49:32 -0500224
ajay_dp0013cd892b2021-01-28 19:36:09 +0530225 <build>
226 <resources>
227 <resource>
228 <directory>src/main/resources</directory>
229 <filtering>true</filtering>
230 <includes>
231 <include>**/MRClientVersion.properties</include>
232 </includes>
233 </resource>
234 <resource>
235 <directory>src/main/resources</directory>
236 <filtering>false</filtering>
237 <excludes>
238 <exclude>**/MRClientVersion.properties</exclude>
239 </excludes>
240 </resource>
241 </resources>
242 <plugins>
243 <plugin>
244 <groupId>org.apache.maven.plugins</groupId>
245 <artifactId>maven-site-plugin</artifactId>
246 <version>3.6</version>
247 <dependencies>
248 <dependency>
249 <groupId>org.apache.maven.wagon</groupId>
250 <artifactId>wagon-webdav-jackrabbit</artifactId>
251 <version>2.10</version>
252 </dependency>
253 </dependencies>
254 </plugin>
255 <plugin>
256 <artifactId>maven-assembly-plugin</artifactId>
257 <version>2.4</version>
258 <configuration>
259 <descriptorRefs>
260 <descriptorRef>jar-with-dependencies</descriptorRef>
261 </descriptorRefs>
262 </configuration>
Varun Gudisenacc9de9b2017-08-30 20:49:32 -0500263
ajay_dp0013cd892b2021-01-28 19:36:09 +0530264 <executions>
265 <execution>
266 <id>make-assembly</id> <!-- this is used for inheritance merges -->
267 <phase>package</phase> <!-- bind to the packaging phase -->
268 <goals>
269 <goal>single</goal>
270 </goals>
271 </execution>
272 </executions>
273 </plugin>
274 <plugin>
275 <artifactId>maven-checkstyle-plugin</artifactId>
276 <executions>
277 <execution>
278 <id>onap-java-style</id>
279 <configuration>
280 <consoleOutput>false</consoleOutput>
281 </configuration>
282 </execution>
283 </executions>
284 </plugin>
285 <plugin>
286 <groupId>org.apache.maven.plugins</groupId>
287 <artifactId>maven-javadoc-plugin</artifactId>
288 <version>2.10.4</version>
289 <configuration>
290 <additionalparam>-Xdoclint:none</additionalparam>
291 </configuration>
292 <executions>
293 <execution>
294 <id>attach-javadocs</id>
295 <goals>
296 <goal>jar</goal>
297 </goals>
298 </execution>
299 </executions>
300 </plugin>
301 <plugin>
302 <groupId>org.apache.maven.plugins</groupId>
303 <artifactId>maven-source-plugin</artifactId>
304 <version>3.0.0</version>
305 <executions>
306 <execution>
307 <id>attach-sources</id>
308 <goals>
309 <goal>jar-no-fork</goal>
310 </goals>
311 </execution>
312 </executions>
313 </plugin>
314 <plugin>
315 <artifactId>maven-compiler-plugin</artifactId>
316 <version>3.1</version>
317 <configuration>
318 <source>1.7</source>
319 <target>1.7</target>
320 </configuration>
321 </plugin>
322 <plugin>
323 <groupId>org.jacoco</groupId>
324 <artifactId>jacoco-maven-plugin</artifactId>
325 <executions>
326 <execution>
327 <id>prepare-agent</id>
328 <goals>
329 <goal>prepare-agent</goal>
330 </goals>
331 </execution>
332 <execution>
333 <id>report</id>
334 <goals>
335 <goal>report</goal>
336 </goals>
337 <configuration>
338 <dataFile>${project.build.directory}/code-coverage/jacoco.exec
339 </dataFile>
340 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut
341 </outputDirectory>
342 </configuration>
343 </execution>
344 </executions>
345 </plugin>
346 </plugins>
347 </build>
Varun Gudisenacc9de9b2017-08-30 20:49:32 -0500348
ajay_dp0013cd892b2021-01-28 19:36:09 +0530349 <profiles>
350 <!-- Add plugins here that should only be executed on the Jenkins server -->
351 <profile>
352 <id>jenkins</id>
353 <activation>
354 <property>
355 <name>env.BUILD_NUMBER</name>
356 </property>
357 </activation>
358 <build>
359 <plugins>
360 <plugin>
361 <groupId>org.codehaus.mojo</groupId>
362 <artifactId>cobertura-maven-plugin</artifactId>
363 </plugin>
364 </plugins>
365 </build>
366 </profile>
367 </profiles>
Varun Gudisenacc9de9b2017-08-30 20:49:32 -0500368</project>