blob: b92d7efb71a9759400254073c7cfc04335a9d45f [file] [log] [blame]
Sunil Unnavad46bf362018-03-12 09:30:41 -04001<!-- ============LICENSE_START=======================================================
2 org.onap.dmaap ================================================================================
3 Copyright © 2017 AT&T Intellectual Property. All rights reserved. ================================================================================
4 Licensed under the Apache License, Version 2.0 (the "License"); you may not
5 use this file except in compliance with the License. You may obtain a copy
6 of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required
7 by applicable law or agreed to in writing, software distributed under the
8 License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
9 OF ANY KIND, either express or implied. See the License for the specific
10 language governing permissions and limitations under the License. ============LICENSE_END=========================================================
11 ECOMP is a trademark and service mark of AT&T Intellectual Property. -->
Varun Gudisenaca63da62017-08-30 16:00:10 -050012<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
13 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
14 <modelVersion>4.0.0</modelVersion>
15 <groupId>org.onap.dmaap.messagerouter.msgrtr</groupId>
16 <artifactId>msgrtr</artifactId>
sunil unnava08d11f22018-09-13 17:31:40 -040017 <version>1.1.9-SNAPSHOT</version>
Varun Gudisenaca63da62017-08-30 16:00:10 -050018 <packaging>jar</packaging>
Jessica Wagantall1b618902017-09-08 13:14:43 -070019 <name>dmaap-messagerouter-msgrtr</name>
Varun Gudisenaca63da62017-08-30 16:00:10 -050020 <description>Message Router - Restful interface built for kafka</description>
Sunil Unnavad46bf362018-03-12 09:30:41 -040021
Varun Gudisena3fc19dc2017-08-31 10:52:33 -050022 <parent>
23 <groupId>org.onap.oparent</groupId>
24 <artifactId>oparent</artifactId>
Gildas Lanilis28154162018-03-15 17:45:27 -070025 <version>1.1.0</version>
Varun Gudisena3fc19dc2017-08-31 10:52:33 -050026 </parent>
Sunil Unnavad46bf362018-03-12 09:30:41 -040027
Varun Gudisenaca63da62017-08-30 16:00:10 -050028 <properties>
su622b986192d2018-04-04 15:23:17 -040029 <spring.version>3.2.18.RELEASE</spring.version>
Varun Gudisenaca63da62017-08-30 16:00:10 -050030 <cxf.version>3.0.4</cxf.version>
31 <jstl.version>1.2</jstl.version>
Varun Gudisenaca63da62017-08-30 16:00:10 -050032 <maven.compiler.target>1.7</maven.compiler.target>
33 <maven.compiler.source>1.7</maven.compiler.source>
34 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
su622b0b810c82018-04-06 16:08:02 -040035
Sunil Unnavad46bf362018-03-12 09:30:41 -040036
37 <!-- SONAR -->
38 <jacoco.version>0.7.7.201606060606</jacoco.version>
39 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
40 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
41 <!-- Default Sonar configuration -->
42 <sonar.jacoco.reportPath>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>
43 <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
44 <!-- Note: This list should match jacoco-maven-plugin's exclusion list
45 below -->
46 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
47 <sitePath>/content/sites/site/org/onap/dmaap/messagerouter/msgrtr/${project.artifactId}/${project.version}</sitePath>
Varun Gudisena71cef932017-09-25 11:13:59 -050048 <nexusproxy>https://nexus.onap.org</nexusproxy>
Varun Gudisenaca63da62017-08-30 16:00:10 -050049 </properties>
50
51 <!-- Distribution management -->
52 <!-- Currently all artifacts will be uploaded to att-public-group reposiotry
53 on Maven Central -->
Varun Gudisenad245aec2017-09-21 23:39:45 -050054 <distributionManagement>
55 <site>
56 <id>ecomp-site</id>
57 <url>dav:${nexusproxy}${sitePath}</url>
58 </site>
59 </distributionManagement>
Varun Gudisenaca63da62017-08-30 16:00:10 -050060
61 <!-- End Distribution management -->
62
Sunil Unnavad46bf362018-03-12 09:30:41 -040063 <licenses>
64 <license>
65 <name>Apache License Version 2.0</name>
66 </license>
Varun Gudisenaca63da62017-08-30 16:00:10 -050067 </licenses>
68
69 <developers>
Sunil Unnavad46bf362018-03-12 09:30:41 -040070 <developer>
71 <name>Rajashree</name>
72 <email></email>
73 <organization>ATT</organization>
74 <organizationUrl>www.att.com</organizationUrl>
75 </developer>
76 <developer>
77 <name>Ramkumar</name>
78 <email></email>
79 <organization>ATT</organization>
80 <organizationUrl>www.att.com</organizationUrl>
81 </developer>
82 </developers>
Varun Gudisenaca63da62017-08-30 16:00:10 -050083
84 <dependencies>
sunil unnava9f253e32018-08-14 11:13:19 -040085 <!-- <dependency>
su622b58833d92018-04-04 16:19:55 -040086 <groupId>org.apache.tomcat</groupId>
87 <artifactId>tomcat-catalina</artifactId>
su622b6155c5b2018-04-18 18:15:03 -040088 <version>8.5.23</version>
sunil unnava20ae4292018-08-14 12:50:37 -040089 </dependency>
90 <dependency>
su622b58833d92018-04-04 16:19:55 -040091 <groupId>org.apache.tomcat</groupId>
92 <artifactId>tomcat-util</artifactId>
su622b6155c5b2018-04-18 18:15:03 -040093 <version>8.5.23</version>
sunil unnava20ae4292018-08-14 12:50:37 -040094 </dependency>
95 <dependency>
su622b58833d92018-04-04 16:19:55 -040096 <groupId>org.apache.tomcat.embed</groupId>
97 <artifactId>tomcat-embed-core</artifactId>
su622b6155c5b2018-04-18 18:15:03 -040098 <version>8.5.23</version>
sunil unnava9f253e32018-08-14 11:13:19 -040099 </dependency> -->
Sunil Unnavad46bf362018-03-12 09:30:41 -0400100 <dependency>
101 <groupId>commons-collections</groupId>
102 <artifactId>commons-collections</artifactId>
103 <version>3.2.2</version>
104 </dependency>
105 <dependency>
106 <groupId>ch.qos.logback</groupId>
107 <artifactId>logback-core</artifactId>
108 <version>1.2.0</version>
109 </dependency>
110 <dependency>
111 <groupId>ch.qos.logback</groupId>
112 <artifactId>logback-classic</artifactId>
113 <version>1.2.0</version>
114 </dependency>
115 <!-- <dependency> <groupId>commons-beanutils</groupId> <artifactId>commons-beanutils</artifactId>
116 <version>1.9.2</version> <exclusions> We have JCL-over-SLF4J instead. <exclusion>
117 <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId>
118 </exclusion> </exclusions> </dependency> -->
119 <dependency>
120 <groupId>org.grails</groupId>
121 <artifactId>grails-web</artifactId>
su622b986192d2018-04-04 15:23:17 -0400122 <version>2.5.4</version>
su622b0a6f33a2018-03-13 15:34:48 -0400123 <exclusions>
124 <exclusion>
125 <groupId>org.grails</groupId>
126 <artifactId>grails-web-jsp</artifactId>
127 </exclusion>
128 </exclusions>
Sunil Unnavad46bf362018-03-12 09:30:41 -0400129 </dependency>
130 <dependency>
131 <groupId>org.grails</groupId>
132 <artifactId>grails-bootstrap</artifactId>
su622b986192d2018-04-04 15:23:17 -0400133 <version>2.5.4</version>
Sunil Unnavad46bf362018-03-12 09:30:41 -0400134 <scope>compile</scope>
135 <exclusions>
136 <exclusion>
137 <artifactId>ant</artifactId>
138 <groupId>org.apache.ant</groupId>
139 </exclusion>
140 <exclusion>
141 <artifactId>jna</artifactId>
142 <groupId>net.java.dev.jna</groupId>
143 </exclusion>
144 <exclusion>
145 <artifactId>ant-trax</artifactId>
146 <groupId>org.apache.ant</groupId>
147 </exclusion>
148 <exclusion>
149 <artifactId>gant_groovy1.8</artifactId>
150 <groupId>org.codehaus.gant</groupId>
151 </exclusion>
152 <exclusion>
153 <artifactId>ant-launcher</artifactId>
154 <groupId>org.apache.ant</groupId>
155 </exclusion>
156 <exclusion>
157 <artifactId>jline</artifactId>
158 <groupId>jline</groupId>
159 </exclusion>
160 <exclusion>
161 <artifactId>ivy</artifactId>
162 <groupId>org.apache.ivy</groupId>
163 </exclusion>
164 <exclusion>
165 <artifactId>jansi</artifactId>
166 <groupId>org.fusesource.jansi</groupId>
167 </exclusion>
168 <exclusion>
169 <artifactId>commons-logging</artifactId>
170 <groupId>commons-logging</groupId>
171 </exclusion>
172 <exclusion>
173 <artifactId>ant-junit</artifactId>
174 <groupId>org.apache.ant</groupId>
175 </exclusion>
176 </exclusions>
177 </dependency>
178 <dependency>
Sunil Unnava04e44e42018-03-08 13:40:50 -0500179 <groupId>org.springframework</groupId>
180 <artifactId>spring-test</artifactId>
181 <version>${spring.version}</version>
182 <scope>test</scope>
183 </dependency>
Sunil Unnavad46bf362018-03-12 09:30:41 -0400184 <dependency>
185 <groupId>org.codehaus.groovy</groupId>
186 <artifactId>groovy-all</artifactId>
sunil unnava64605542018-09-05 17:07:16 -0400187 <version>2.4.8</version>
Sunil Unnavad46bf362018-03-12 09:30:41 -0400188 <scope>compile</scope>
189 <exclusions>
190 <exclusion>
191 <artifactId>jline</artifactId>
192 <groupId>jline</groupId>
193 </exclusion>
194 </exclusions>
195 </dependency>
196 <dependency>
197 <groupId>commons-fileupload</groupId>
198 <artifactId>commons-fileupload</artifactId>
199 <version>1.3.3</version>
200 </dependency>
201
Varun Gudisenaca63da62017-08-30 16:00:10 -0500202 <dependency>
203 <groupId>junit</groupId>
204 <artifactId>junit</artifactId>
205 <version>4.11</version>
206 <scope>test</scope>
207 </dependency>
Sunil Unnava907bb772018-02-27 03:09:04 -0500208 <dependency>
209 <groupId>com.att.aft</groupId>
210 <artifactId>dme2</artifactId>
211 <version>3.1.200-oss</version>
Sunil Unnavad46bf362018-03-12 09:30:41 -0400212 </dependency>
Varun Gudisenaca63da62017-08-30 16:00:10 -0500213
214 <!-- slf4j logger -->
215 <dependency>
216 <groupId>org.slf4j</groupId>
217 <artifactId>slf4j-api</artifactId>
218 <version>1.7.6</version>
219 </dependency>
220
221 <dependency>
222 <groupId>javax.inject</groupId>
223 <artifactId>javax.inject</artifactId>
224 <version>1</version>
225 </dependency>
226
227 <dependency>
228 <groupId>com.att.ajsc</groupId>
229 <artifactId>ajsc-core</artifactId>
230 <version>1.0.0</version>
231 </dependency>
232
233 <dependency>
234 <groupId>javax.ws.rs</groupId>
235 <artifactId>javax.ws.rs-api</artifactId>
236 <version>2.0.1</version>
237 </dependency>
238
239 <!-- <dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-rt-rs-client</artifactId>
240 <version>${cxf.version}</version> </dependency> <dependency> <groupId>org.apache.cxf</groupId>
241 <artifactId>cxf-rt-frontend-jaxws</artifactId> <version>${cxf.version}</version>
242 </dependency> <dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-rt-transports-http</artifactId>
243 <version>${cxf.version}</version> </dependency> Jetty is needed if you're
244 are not using the CXFServlet <dependency> <groupId>org.apache.cxf</groupId>
245 <artifactId>cxf-rt-transports-http-jetty</artifactId> <version>${cxf.version}</version>
246 </dependency> -->
247 <!-- Begin - Spring Dependencies for DI -->
248 <dependency>
249 <groupId>org.springframework</groupId>
Varun Gudisenaca63da62017-08-30 16:00:10 -0500250 <artifactId>spring-context</artifactId>
251 <version>${spring.version}</version>
252 </dependency>
253 <dependency>
254 <groupId>org.springframework</groupId>
su622b13711622018-04-17 17:17:30 -0400255 <artifactId>spring-expression</artifactId>
sunil unnava5f5477e2018-09-05 16:43:09 -0400256 <version>4.3.18.RELEASE</version>
Varun Gudisenaca63da62017-08-30 16:00:10 -0500257 </dependency>
258 <dependency>
259 <groupId>org.springframework</groupId>
su622b13711622018-04-17 17:17:30 -0400260 <artifactId>spring-webmvc</artifactId>
sunil unnava5f5477e2018-09-05 16:43:09 -0400261 <version>4.3.18.RELEASE</version>
su622b13711622018-04-17 17:17:30 -0400262 </dependency>
263 <dependency>
264 <groupId>org.springframework</groupId>
265 <artifactId>spring-core</artifactId>
sunil unnava5f5477e2018-09-05 16:43:09 -0400266 <version>4.3.18.RELEASE</version>
Varun Gudisenaca63da62017-08-30 16:00:10 -0500267 </dependency>
268 <dependency>
269 <groupId>javax.servlet</groupId>
270 <artifactId>javax.servlet-api</artifactId>
271 <version>3.0.1</version>
272 <scope>provided</scope>
273 </dependency>
274 <!-- End - Spring Dependencies for DI -->
275 <!-- Begin - Dependency on Dmaap Spring layer -->
276 <!-- <dependency> <groupId>com.att.dmaap</groupId> <artifactId>dmaap-spring</artifactId>
277 <version>0.0.1-SNAPSHOT</version> </dependency> -->
278 <!-- End - Dependency on Dmaap Spring layer -->
279 <!-- Begin - Dependency on log4j for logging purpose -->
280 <!-- <dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId>
281 <version>1.2.17</version> </dependency> -->
282 <!-- Log4j's enhanced pattern layout is shipped separately <dependency>
283 <groupId>log4j</groupId> <artifactId>apache-log4j-extras</artifactId> <version>1.2.17</version>
284 </dependency> -->
285 <!-- End - Dependency on log4j for logging purpose -->
286 <!-- ZooKeeper Library -->
287 <dependency>
288 <groupId>org.apache.zookeeper</groupId>
289 <artifactId>zookeeper</artifactId>
su622b986192d2018-04-04 15:23:17 -0400290 <version>3.4.10</version>
Varun Gudisenaca63da62017-08-30 16:00:10 -0500291 </dependency>
292
293 <!-- JSON libraries -->
294 <dependency>
295 <groupId>org.json</groupId>
296 <artifactId>json</artifactId>
297 <version>20131018</version>
298 </dependency>
299
300 <!-- Apache Kafka -->
301 <dependency>
302 <groupId>org.apache.kafka</groupId>
sunil unnavab32effc2018-08-14 09:34:46 -0400303 <artifactId>kafka_2.11</artifactId>
sunil unnava64605542018-09-05 17:07:16 -0400304 <version>0.11.0.3</version>
Varun Gudisenaca63da62017-08-30 16:00:10 -0500305 </dependency>
sunil unnava5f5477e2018-09-05 16:43:09 -0400306 <dependency>
307 <groupId>com.google.guava</groupId>
308 <artifactId>guava</artifactId>
sunil unnava64605542018-09-05 17:07:16 -0400309 <version>23.6.1-jre</version>
sunil unnava5f5477e2018-09-05 16:43:09 -0400310 </dependency>
Varun Gudisenaca63da62017-08-30 16:00:10 -0500311
312 <dependency>
313 <groupId>com.att.eelf</groupId>
314 <artifactId>eelf-core</artifactId>
315 <version>0.0.1</version>
316 <scope>compile</scope>
317 </dependency>
318 <!-- our NSA server library -->
319 <dependency>
320 <groupId>com.att.nsa</groupId>
321 <artifactId>nsaServerLibrary</artifactId>
322 <version>1.0.10</version>
sunil unnava20ae4292018-08-14 12:50:37 -0400323 <exclusions>
324 <exclusion>
325 <groupId>org.apache.tomcat</groupId>
326 <artifactId>tomcat-catalina</artifactId>
327 </exclusion>
328 <exclusion>
329 <groupId>org.apache.tomcat.embed</groupId>
330 <artifactId>tomcat-embed-core</artifactId>
331 </exclusion>
332 <exclusion>
333 <groupId>org.apache.tomcat</groupId>
334 <artifactId>tomcat-util</artifactId>
335 </exclusion>
336 </exclusions>
Varun Gudisenaca63da62017-08-30 16:00:10 -0500337 </dependency>
338 <dependency>
339 <groupId>com.att.nsa</groupId>
340 <artifactId>saToolkit</artifactId>
341 <version>0.0.1</version>
342 </dependency>
343
344 <!-- our Highland Park library -->
Sunil Unnavad46bf362018-03-12 09:30:41 -0400345 <!-- <dependency> <groupId>com.att.nsa</groupId> <artifactId>highlandParkCore</artifactId>
346 <version>0.4.9</version> </dependency> -->
Varun Gudisenaca63da62017-08-30 16:00:10 -0500347
348 <!-- our base client library, for its command line tools -->
349 <dependency>
350 <groupId>com.att.nsa</groupId>
351 <artifactId>saClientLibrary</artifactId>
352 <version>0.0.1</version>
353 <exclusions>
354 <exclusion>
355 <groupId>org.apache.httpcomponents</groupId>
356 <artifactId>httpclient</artifactId>
357 </exclusion>
358 <exclusion>
359 <groupId>org.apache.httpcomponents</groupId>
360 <artifactId>httpclient-cache</artifactId>
361 </exclusion>
362 </exclusions>
363 </dependency>
364 <dependency>
Sunil Unnavad46bf362018-03-12 09:30:41 -0400365 <groupId>org.apache.httpcomponents</groupId>
366 <artifactId>httpclient</artifactId>
367 <version>4.5.3</version>
368 </dependency>
369 <dependency>
370 <groupId>org.apache.httpcomponents</groupId>
371 <artifactId>httpclient-cache</artifactId>
372 <version>4.5.3</version>
373 </dependency>
374 <dependency>
375 <groupId>org.apache.httpcomponents</groupId>
376 <artifactId>httpcore</artifactId>
377 <version>4.4.1</version>
378 </dependency>
379
380
Varun Gudisenaca63da62017-08-30 16:00:10 -0500381 <!-- explicit jline add b/c it conflicts with the zk client -->
382 <dependency>
383 <groupId>jline</groupId>
384 <artifactId>jline</artifactId>
385 <version>2.12.1</version>
386 </dependency>
387
388 <dependency>
389 <groupId>org.apache.curator</groupId>
390 <artifactId>curator-recipes</artifactId>
sunil unnava5f5477e2018-09-05 16:43:09 -0400391 <version>4.0.1</version>
Varun Gudisenaca63da62017-08-30 16:00:10 -0500392 </dependency>
393
394 <dependency>
395 <groupId>org.apache.curator</groupId>
396 <artifactId>curator-test</artifactId>
sunil unnava5f5477e2018-09-05 16:43:09 -0400397 <version>4.0.1</version>
Varun Gudisenaca63da62017-08-30 16:00:10 -0500398 </dependency>
399
Varun Gudisenaca63da62017-08-30 16:00:10 -0500400
Sunil Unnavad46bf362018-03-12 09:30:41 -0400401 <dependency>
402 <groupId>com.google.code.gson</groupId>
403 <artifactId>gson</artifactId>
404 <version>2.8.0</version>
405 </dependency>
rn509jfd8f9852017-10-01 21:36:35 -0400406
407 <dependency>
408 <groupId>com.fasterxml.jackson.core</groupId>
409 <artifactId>jackson-core</artifactId>
Sunil Unnava04e44e42018-03-08 13:40:50 -0500410 <version>2.8.11</version>
rn509jfd8f9852017-10-01 21:36:35 -0400411 <scope>test</scope>
412 </dependency>
Sunil Unnavad46bf362018-03-12 09:30:41 -0400413
Sunil Unnavae4b46982018-03-01 13:38:34 -0500414 <dependency>
415 <groupId>com.fasterxml.jackson.core</groupId>
416 <artifactId>jackson-databind</artifactId>
Sunil Unnava04e44e42018-03-08 13:40:50 -0500417 <version>2.8.11.1</version>
Sunil Unnavae4b46982018-03-01 13:38:34 -0500418 </dependency>
rn509jfd8f9852017-10-01 21:36:35 -0400419
420 <dependency>
421 <groupId>org.powermock</groupId>
422 <artifactId>powermock-api-mockito</artifactId>
Sunil Unnavae4b46982018-03-01 13:38:34 -0500423 <version>1.6.4</version>
rn509jfd8f9852017-10-01 21:36:35 -0400424 <scope>test</scope>
425 </dependency>
426
427 <dependency>
428 <groupId>org.powermock</groupId>
429 <artifactId>powermock-module-junit4</artifactId>
Sunil Unnavae4b46982018-03-01 13:38:34 -0500430 <version>1.6.4</version>
rn509jfd8f9852017-10-01 21:36:35 -0400431 <scope>test</scope>
432 </dependency>
Sunil Unnavad46bf362018-03-12 09:30:41 -0400433
rn509jfd8f9852017-10-01 21:36:35 -0400434 <dependency>
Sunil Unnavad46bf362018-03-12 09:30:41 -0400435 <groupId>org.powermock</groupId>
436 <artifactId>powermock-module-junit4-rule</artifactId>
437 <version>1.6.4</version>
438 <scope>test</scope>
rn509jfd8f9852017-10-01 21:36:35 -0400439 </dependency>
Sunil Unnavae4b46982018-03-01 13:38:34 -0500440 <dependency>
441 <groupId>org.mockito</groupId>
442 <artifactId>mockito-core</artifactId>
443 <version>1.10.19</version>
444 <scope>test</scope>
445 </dependency>
Sunil Unnavad46bf362018-03-12 09:30:41 -0400446
Varun Gudisenaca63da62017-08-30 16:00:10 -0500447 </dependencies>
448 <build>
449 <finalName>DMaaP</finalName>
450 <resources>
451 <resource>
452 <directory>src/main/resources</directory>
453 <filtering>true</filtering>
454 <includes>
455 <include>**/*.properties</include>
456 </includes>
457 </resource>
458 <!-- <resource> <directory>src/main/config</directory> <filtering>true</filtering>
459 <includes> <include>**/log4j*.xml</include> </includes> </resource> <resource>
460 <directory>src/main/resources</directory> <filtering>false</filtering> <excludes>
461 <exclude>**/cambriaApiVersion.properties</exclude> </excludes> </resource> -->
462 </resources>
463 <plugins>
464 <!-- <plugin> <artifactId>maven-assembly-plugin</artifactId> <version>2.4.1</version>
465 <configuration> <descriptors> <descriptor>src/assembly/dep.xml</descriptor>
466 </descriptors> </configuration> <executions> <execution> <id>make-assembly</id>
467 this is used for inheritance merges -->
468 <!-- <phase>package</phase> bind to the packaging phase <goals> <goal>single</goal>
469 </goals> </execution> </executions> </plugin> -->
470 <!-- -->
Varun Gudisenaca63da62017-08-30 16:00:10 -0500471 <plugin>
472 <groupId>org.apache.maven.plugins</groupId>
Varun Gudisenad245aec2017-09-21 23:39:45 -0500473 <artifactId>maven-site-plugin</artifactId>
474 <version>3.6</version>
475 <dependencies>
476 <dependency>
477 <groupId>org.apache.maven.wagon</groupId>
478 <artifactId>wagon-webdav-jackrabbit</artifactId>
479 <version>2.10</version>
480 </dependency>
481 </dependencies>
482 </plugin>
483 <plugin>
484 <groupId>org.apache.maven.plugins</groupId>
Varun Gudisenaca63da62017-08-30 16:00:10 -0500485 <artifactId>maven-javadoc-plugin</artifactId>
486 <version>2.10.4</version>
487 <configuration>
488 <additionalparam>-Xdoclint:none</additionalparam>
489 </configuration>
490 <executions>
491 <execution>
492 <id>attach-javadocs</id>
493 <goals>
494 <goal>jar</goal>
495 </goals>
496 </execution>
497 </executions>
498 </plugin>
499 <plugin>
500 <groupId>org.apache.maven.plugins</groupId>
501 <artifactId>maven-source-plugin</artifactId>
502 <version>3.0.0</version>
503 <executions>
504 <execution>
505 <id>attach-sources</id>
506 <goals>
507 <goal>jar-no-fork</goal>
508 </goals>
509 </execution>
510 </executions>
Sunil Unnavad46bf362018-03-12 09:30:41 -0400511 </plugin>
Varun Gudisenaca63da62017-08-30 16:00:10 -0500512 <plugin>
513 <groupId>org.apache.maven.plugins</groupId>
514 <artifactId>maven-surefire-plugin</artifactId>
515 <version>2.12.4</version>
516 <configuration>
517 <excludes>
Sunil Unnavad46bf362018-03-12 09:30:41 -0400518 <!-- exclude until junits updated <exclude>**/DME2*.java</exclude> -->
Varun Gudisenaca63da62017-08-30 16:00:10 -0500519 </excludes>
520 <!-- <skipTests>true</skipTests> -->
521 </configuration>
522 </plugin>
Sunil Unnavad46bf362018-03-12 09:30:41 -0400523 <plugin>
524 <groupId>org.codehaus.mojo</groupId>
525 <artifactId>cobertura-maven-plugin</artifactId>
526 <version>2.7</version>
527 <configuration>
528 <formats>
529 <format>html</format>
530 <format>xml</format>
531 </formats>
532 </configuration>
533 </plugin>
534 <!-- <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId>
535 <version>${jacoco.version}</version> <configuration> Note: This exclusion
536 list should match <sonar.exclusions> property above <excludes> <exclude>**/gen/**</exclude>
537 <exclude>**/generated-sources/**</exclude> <exclude>**/yang-gen/**</exclude>
538 <exclude>**/pax/**</exclude> </excludes> </configuration> <executions> Prepares
539 the property pointing to the JaCoCo runtime agent which is passed as VM argument
540 when Maven the Surefire plugin is executed. <execution> <id>pre-unit-test</id>
541 <goals> <goal>prepare-agent</goal> </goals> <configuration> Sets the path
542 to the file which contains the execution data. <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
543 Sets the name of the property containing the settings for JaCoCo runtime
544 agent. <propertyName>surefireArgLine</propertyName> </configuration> </execution>
545 Ensures that the code coverage report for unit tests is created after unit
546 tests have been run. <execution> <id>post-unit-test</id> <phase>test</phase>
547 <goals> <goal>report</goal> </goals> <configuration> Sets the path to the
548 file which contains the execution data. <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
549 Sets the output directory for the code coverage report. <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
550 </configuration> </execution> <execution> <id>pre-integration-test</id> <phase>pre-integration-test</phase>
551 <goals> <goal>prepare-agent</goal> </goals> <configuration> Sets the path
552 to the file which contains the execution data. <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
553 Sets the name of the property containing the settings for JaCoCo runtime
554 agent. <propertyName>failsafeArgLine</propertyName> </configuration> </execution>
555 Ensures that the code coverage report for integration tests after integration
556 tests have been run. <execution> <id>post-integration-test</id> <phase>post-integration-test</phase>
557 <goals> <goal>report</goal> </goals> <configuration> Sets the path to the
558 file which contains the execution data. <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
559 Sets the output directory for the code coverage report. <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
560 </configuration> </execution> </executions> </plugin> -->
561 </plugins>
Varun Gudisenaca63da62017-08-30 16:00:10 -0500562 </build>
563
564 <!-- <profiles> <profile> <id>jenkins</id> <activation> <property> <name>env.BUILD_NUMBER</name>
565 </property> </activation> <build> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId>
566 <artifactId>cobertura-maven-plugin</artifactId> </plugin> <plugin> <groupId>com.att.aft.swm</groupId>
567 <artifactId>swm-plugin</artifactId> <version>1.4.4.12</version> <configuration>
568 <distFilesRootDirPath>/opt/app/dmaap/msgrtr/jenkinsbuild</distFilesRootDirPath>
569 <version>${project.version}-${env.BUILD_NUMBER}</version> <scriptExcludes>
570 <scriptExclude>**/swmpkgclean.sh</scriptExclude> </scriptExcludes> </configuration>
571 <executions> <execution> <id>pkgstage</id> <goals> <goal>pkgstage</goal>
572 </goals> </execution> <execution> <id>pkgcreate</id> <goals> <goal>pkgcreate</goal>
573 </goals> </execution> <execution> <id>pkginstall</id> <goals> <goal>install</goal>
574 </goals> <configuration> <componentName>com.att.nsa:msgrtr</componentName>
575 <version>${project.version}-${env.BUILD_NUMBER}</version> <waitTimeMins>4</waitTimeMins>
576 <properties> <property> <name>overrideDependencyConflicts</name> <value>true</value>
577 </property> <property> <name>AFTSWM_NOTIFY_ADDRESSES</name> <value>mailto:rs857c@att.com</value>
578 </property> </properties> </configuration> </execution> </executions> </plugin>
579 <plugin> <artifactId>maven-antrun-plugin</artifactId> <executions> <execution>
580 <phase>package</phase> <configuration> <tasks> <copy file="./src/main/scripts/swmpkgclean.sh"
581 toDir="./target" /> </tasks> </configuration> <goals> <goal>run</goal> </goals>
582 </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId>
583 <artifactId>maven-deploy-plugin</artifactId> <version>2.5</version> <configuration>
584 <skip>true</skip> </configuration> </plugin> </plugins> </build> </profile>
585 </profiles> -->
Jessica Wagantall1b618902017-09-08 13:14:43 -0700586</project>