blob: faf8e051c8c2c43a64d193550fa0670746b5aaee [file] [log] [blame]
Gary Wu6454abb2018-08-24 15:22:40 -07001<?xml version="1.0"?>
Sunil Unnava3ccc06f2018-02-22 16:48:55 -05002<!-- ============LICENSE_START=======================================================
3 org.onap.dmaap ================================================================================
4 Copyright © 2017 AT&T Intellectual Property. All rights reserved. ================================================================================
5 Licensed under the Apache License, Version 2.0 (the "License"); you may not
6 use this file except in compliance with the License. You may obtain a copy
7 of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required
8 by applicable law or agreed to in writing, software distributed under the
9 License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
10 OF ANY KIND, either express or implied. See the License for the specific
11 language governing permissions and limitations under the License. ============LICENSE_END=========================================================
12 ECOMP is a trademark and service mark of AT&T Intellectual Property. -->
Gary Wu6454abb2018-08-24 15:22:40 -070013<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">
Varun Gudisenacc9de9b2017-08-30 20:49:32 -050014 <modelVersion>4.0.0</modelVersion>
15 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
16 <artifactId>dmaapClient</artifactId>
17 <packaging>jar</packaging>
su622b3815da02019-06-28 00:25:50 -040018 <version>1.1.10-SNAPSHOT</version>
Jessica Wagantall7d1a1562017-09-08 13:31:51 -070019 <name>dmaap-messagerouter-dmaapclient</name>
Varun Gudisenacc9de9b2017-08-30 20:49:32 -050020 <description>Client library for MR event routing API</description>
sunil.unnavadcb14792019-05-10 11:21:44 -040021 <url>https://gerrit.onap.org/r/gitweb?p=dmaap/messagerouter/dmaapclient.git</url>
Varun Gudisena7d45c172017-08-31 10:44:28 -050022
Varun Gudisenacc9de9b2017-08-30 20:49:32 -050023 <parent>
24 <groupId>org.onap.oparent</groupId>
25 <artifactId>oparent</artifactId>
su622b050efb32019-11-20 15:13:53 -050026 <version>2.1.0</version>
Varun Gudisenacc9de9b2017-08-30 20:49:32 -050027 </parent>
Varun Gudisenacc9de9b2017-08-30 20:49:32 -050028 <properties>
29 <!-- for the client library, we want to allow 1.6 or later -->
30 <maven.compiler.target>1.7</maven.compiler.target>
31 <maven.compiler.source>1.7</maven.compiler.source>
sunil unnava4cb1f9a2018-08-30 16:25:20 -040032 <jersey.version>2.22.1</jersey.version>
Sunil Unnava3ccc06f2018-02-22 16:48:55 -050033 <version.jackson.core>2.6.7.1</version.jackson.core>
Varun Gudisenacc9de9b2017-08-30 20:49:32 -050034 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
sunil unnava5056c3d2018-10-26 12:17:29 -040035 <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
su622bfeeb6d12020-03-11 12:05:22 -040036 <sonar.language>java</sonar.language>
37 <sonar.skip>false</sonar.skip>
38 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
39 <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
40 <sonar.projectVersion>${project.version}</sonar.projectVersion>
Sunil Unnava3ccc06f2018-02-22 16:48:55 -050041 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
42 <sitePath>/content/sites/site/org/onap/dmaap/messagerouter/dmaapclient/${project.artifactId}/${project.version}</sitePath>
Varun Gudisena90a9a1d2017-09-25 11:11:32 -050043 <nexusproxy>https://nexus.onap.org</nexusproxy>
Varun Gudisenacc9de9b2017-08-30 20:49:32 -050044 </properties>
Sunil Unnava3ccc06f2018-02-22 16:48:55 -050045
Varun Gudisena26b93392017-09-21 23:38:33 -050046 <distributionManagement>
47 <site>
48 <id>ecomp-site</id>
49 <url>dav:${nexusproxy}${sitePath}</url>
50 </site>
51 </distributionManagement>
Varun Gudisenacc9de9b2017-08-30 20:49:32 -050052
Sunil Unnava3ccc06f2018-02-22 16:48:55 -050053 <licenses>
54 <license>
55 <name>Apache License Version 2.0</name>
56 </license>
Varun Gudisenacc9de9b2017-08-30 20:49:32 -050057 </licenses>
58
59 <developers>
Sunil Unnava3ccc06f2018-02-22 16:48:55 -050060 <developer>
61 <name>Rajashree</name>
Gary Wu6454abb2018-08-24 15:22:40 -070062 <email/>
Sunil Unnava3ccc06f2018-02-22 16:48:55 -050063 <organization>ATT</organization>
64 <organizationUrl>www.att.com</organizationUrl>
65 </developer>
66 <developer>
67 <name>Ramkumar</name>
Gary Wu6454abb2018-08-24 15:22:40 -070068 <email/>
Sunil Unnava3ccc06f2018-02-22 16:48:55 -050069 <organization>ATT</organization>
70 <organizationUrl>www.att.com</organizationUrl>
71 </developer>
72 </developers>
Varun Gudisenacc9de9b2017-08-30 20:49:32 -050073
Varun Gudisenacc9de9b2017-08-30 20:49:32 -050074 <dependencies>
75 <dependency>
Sunil Unnava3ccc06f2018-02-22 16:48:55 -050076 <groupId>com.fasterxml.jackson.core</groupId>
77 <artifactId>jackson-core</artifactId>
Sunil Unnava41de4532018-03-08 13:50:34 -050078 <version>2.8.11</version>
Sunil Unnava3ccc06f2018-02-22 16:48:55 -050079 </dependency>
80 <dependency>
81 <groupId>com.fasterxml.jackson.core</groupId>
82 <artifactId>jackson-databind</artifactId>
Sunil Unnava41de4532018-03-08 13:50:34 -050083 <version>2.8.11.1</version>
Sunil Unnava3ccc06f2018-02-22 16:48:55 -050084 </dependency>
85 <dependency>
86 <groupId>org.apache.httpcomponents</groupId>
87 <artifactId>httpclient-cache</artifactId>
88 <version>4.5.3</version>
89 </dependency>
90 <dependency>
Varun Gudisenacc9de9b2017-08-30 20:49:32 -050091 <groupId>com.att.nsa</groupId>
92 <artifactId>saClientLibrary</artifactId>
93 <version>0.0.1</version>
94 </dependency>
95
96 <dependency>
97 <groupId>org.json</groupId>
98 <artifactId>json</artifactId>
99 <version>20131018</version>
100 </dependency>
101
102 <dependency>
103 <groupId>com.att.aft</groupId>
104 <artifactId>dme2</artifactId>
Sunil Unnava3ccc06f2018-02-22 16:48:55 -0500105 <version>3.1.200-oss</version>
Varun Gudisenacc9de9b2017-08-30 20:49:32 -0500106 <exclusions>
107 <exclusion>
108 <groupId>com.sun.jersey</groupId>
109 <artifactId>jersey-json</artifactId>
110 </exclusion>
111 <exclusion>
112 <groupId>com.sun.jersey</groupId>
113 <artifactId>jersey-client</artifactId>
114 </exclusion>
sunil unnavaca985372018-10-30 12:28:04 -0400115 <exclusion>
116 <groupId>javax.jms</groupId>
117 <artifactId>jms</artifactId>
118 </exclusion>
Varun Gudisenacc9de9b2017-08-30 20:49:32 -0500119 </exclusions>
120 </dependency>
121 <!-- Begin - Dependency on log4j for logging purpose -->
122 <dependency>
123 <groupId>log4j</groupId>
124 <artifactId>log4j</artifactId>
125 <version>1.2.17</version>
126 </dependency>
127 <!-- Log4j's enhanced pattern layout is shipped separately -->
128 <dependency>
129 <groupId>log4j</groupId>
130 <artifactId>apache-log4j-extras</artifactId>
131 <version>1.2.17</version>
132 </dependency>
133 <!-- End - Dependency on log4j for logging purpose -->
134
135 <dependency>
136 <groupId>javax.ws.rs</groupId>
137 <artifactId>javax.ws.rs-api</artifactId>
138 <version>2.0.1</version>
139 </dependency>
140
141 <dependency>
142 <groupId>org.glassfish.jersey.core</groupId>
143 <artifactId>jersey-common</artifactId>
144 <version>${jersey.version}</version>
145 </dependency>
146
147 <dependency>
148 <groupId>org.glassfish.jersey.core</groupId>
149 <artifactId>jersey-client</artifactId>
150 <version>${jersey.version}</version>
151 </dependency>
152
153 <dependency>
154 <groupId>org.glassfish.jersey.media</groupId>
155 <artifactId>jersey-media-json-jackson</artifactId>
156 <version>${jersey.version}</version>
157 </dependency>
158 <dependency>
159 <groupId>junit</groupId>
160 <artifactId>junit</artifactId>
161 <version>4.11</version>
162 <scope>test</scope>
163 </dependency>
Sunil Unnava3ccc06f2018-02-22 16:48:55 -0500164
rn509j5b7869e2017-10-03 11:07:22 -0400165 <dependency>
Sunil Unnava3ccc06f2018-02-22 16:48:55 -0500166 <groupId>com.github.tomakehurst</groupId>
167 <artifactId>wiremock</artifactId>
168 <version>2.5.0</version>
169 <scope>test</scope>
rn509j5b7869e2017-10-03 11:07:22 -0400170 </dependency>
171 <dependency>
172 <groupId>org.mockito</groupId>
Sunil Unnava173a07c2018-03-06 11:41:18 -0500173 <artifactId>mockito-core</artifactId>
174 <version>1.10.19</version>
175 <scope>test</scope>
176 </dependency>
177 <dependency>
178 <groupId>org.powermock</groupId>
179 <artifactId>powermock-module-junit4</artifactId>
180 <version>1.6.4</version>
181 <scope>test</scope>
182 </dependency>
183 <dependency>
184 <groupId>org.powermock</groupId>
185 <artifactId>powermock-api-mockito</artifactId>
186 <version>1.6.4</version>
187 <scope>test</scope>
188 </dependency>
189 <dependency>
190 <groupId>org.springframework</groupId>
191 <artifactId>spring-test</artifactId>
192 <version>3.0.5.RELEASE</version>
rn509j5b7869e2017-10-03 11:07:22 -0400193 <scope>test</scope>
194 </dependency>
Sunil Unnava3ccc06f2018-02-22 16:48:55 -0500195
Varun Gudisenacc9de9b2017-08-30 20:49:32 -0500196 </dependencies>
197
198 <build>
199 <resources>
200 <resource>
201 <directory>src/main/resources</directory>
202 <filtering>true</filtering>
203 <includes>
204 <include>**/MRClientVersion.properties</include>
205 </includes>
206 </resource>
207 <resource>
208 <directory>src/main/resources</directory>
209 <filtering>false</filtering>
210 <excludes>
211 <exclude>**/MRClientVersion.properties</exclude>
212 </excludes>
213 </resource>
214 </resources>
215 <plugins>
216 <plugin>
Varun Gudisena26b93392017-09-21 23:38:33 -0500217 <groupId>org.apache.maven.plugins</groupId>
218 <artifactId>maven-site-plugin</artifactId>
219 <version>3.6</version>
220 <dependencies>
221 <dependency>
222 <groupId>org.apache.maven.wagon</groupId>
223 <artifactId>wagon-webdav-jackrabbit</artifactId>
224 <version>2.10</version>
225 </dependency>
226 </dependencies>
227 </plugin>
228 <plugin>
Varun Gudisenacc9de9b2017-08-30 20:49:32 -0500229 <artifactId>maven-assembly-plugin</artifactId>
230 <version>2.4</version>
231 <configuration>
232 <descriptorRefs>
233 <descriptorRef>jar-with-dependencies</descriptorRef>
234 </descriptorRefs>
235 </configuration>
236
237 <executions>
238 <execution>
239 <id>make-assembly</id> <!-- this is used for inheritance merges -->
240 <phase>package</phase> <!-- bind to the packaging phase -->
241 <goals>
242 <goal>single</goal>
243 </goals>
244 </execution>
245 </executions>
246 </plugin>
247
248
249 <plugin>
250 <groupId>org.apache.maven.plugins</groupId>
251 <artifactId>maven-javadoc-plugin</artifactId>
252 <version>2.10.4</version>
253 <configuration>
254 <additionalparam>-Xdoclint:none</additionalparam>
255 </configuration>
256 <executions>
257 <execution>
258 <id>attach-javadocs</id>
259 <goals>
260 <goal>jar</goal>
261 </goals>
262 </execution>
263 </executions>
264 </plugin>
265 <plugin>
266 <groupId>org.apache.maven.plugins</groupId>
267 <artifactId>maven-source-plugin</artifactId>
268 <version>3.0.0</version>
269 <executions>
270 <execution>
271 <id>attach-sources</id>
272 <goals>
273 <goal>jar-no-fork</goal>
274 </goals>
275 </execution>
276 </executions>
277 </plugin>
278 <plugin>
279 <artifactId>maven-compiler-plugin</artifactId>
280 <version>3.1</version>
281 <configuration>
282 <source>1.7</source>
283 <target>1.7</target>
284 </configuration>
285 </plugin>
su622bfeeb6d12020-03-11 12:05:22 -0400286 <plugin>
287 <groupId>org.jacoco</groupId>
288 <artifactId>jacoco-maven-plugin</artifactId>
289 <executions>
290 <execution>
291 <id>prepare-agent</id>
292 <goals>
293 <goal>prepare-agent</goal>
294 </goals>
295 </execution>
296 <execution>
297 <id>report</id>
298 <goals>
299 <goal>report</goal>
300 </goals>
301 <configuration>
302 <dataFile>${project.build.directory}/code-coverage/jacoco.exec</dataFile>
303 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
304 </configuration>
305 </execution>
306 </executions>
307 </plugin>
Varun Gudisenacc9de9b2017-08-30 20:49:32 -0500308 </plugins>
309 </build>
310
311 <profiles>
312 <!-- Add plugins here that should only be executed on the Jenkins server -->
313 <profile>
314 <id>jenkins</id>
315 <activation>
316 <property>
317 <name>env.BUILD_NUMBER</name>
318 </property>
319 </activation>
320 <build>
321 <plugins>
322 <plugin>
323 <groupId>org.codehaus.mojo</groupId>
324 <artifactId>cobertura-maven-plugin</artifactId>
325 </plugin>
326 </plugins>
327 </build>
328 </profile>
329 </profiles>
330</project>