blob: cb47037aaa27016da91d1be64cd29e21edd077a7 [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 unnavae1572412018-12-11 16:25:26 -050017 <version>1.1.15-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>
sunil unnava9c7ecb52018-10-26 12:06:41 -040025 <version>1.2.1</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>
sunil unnava9c7ecb52018-10-26 12:06:41 -040029 <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
su622b986192d2018-04-04 15:23:17 -040030 <spring.version>3.2.18.RELEASE</spring.version>
Varun Gudisenaca63da62017-08-30 16:00:10 -050031 <cxf.version>3.0.4</cxf.version>
32 <jstl.version>1.2</jstl.version>
Varun Gudisenaca63da62017-08-30 16:00:10 -050033 <maven.compiler.target>1.7</maven.compiler.target>
34 <maven.compiler.source>1.7</maven.compiler.source>
35 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
sunil unnava9c7ecb52018-10-26 12:06:41 -040036 <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
Sunil Unnavad46bf362018-03-12 09:30:41 -040037
38 <!-- SONAR -->
39 <jacoco.version>0.7.7.201606060606</jacoco.version>
40 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
41 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
42 <!-- Default Sonar configuration -->
43 <sonar.jacoco.reportPath>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>
44 <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
45 <!-- Note: This list should match jacoco-maven-plugin's exclusion list
46 below -->
47 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
48 <sitePath>/content/sites/site/org/onap/dmaap/messagerouter/msgrtr/${project.artifactId}/${project.version}</sitePath>
Varun Gudisena71cef932017-09-25 11:13:59 -050049 <nexusproxy>https://nexus.onap.org</nexusproxy>
Varun Gudisenaca63da62017-08-30 16:00:10 -050050 </properties>
51
52 <!-- Distribution management -->
53 <!-- Currently all artifacts will be uploaded to att-public-group reposiotry
54 on Maven Central -->
Varun Gudisenad245aec2017-09-21 23:39:45 -050055 <distributionManagement>
56 <site>
57 <id>ecomp-site</id>
58 <url>dav:${nexusproxy}${sitePath}</url>
59 </site>
60 </distributionManagement>
Varun Gudisenaca63da62017-08-30 16:00:10 -050061
62 <!-- End Distribution management -->
63
Sunil Unnavad46bf362018-03-12 09:30:41 -040064 <licenses>
65 <license>
66 <name>Apache License Version 2.0</name>
67 </license>
Varun Gudisenaca63da62017-08-30 16:00:10 -050068 </licenses>
69
70 <developers>
Sunil Unnavad46bf362018-03-12 09:30:41 -040071 <developer>
72 <name>Rajashree</name>
73 <email></email>
74 <organization>ATT</organization>
75 <organizationUrl>www.att.com</organizationUrl>
76 </developer>
77 <developer>
78 <name>Ramkumar</name>
79 <email></email>
80 <organization>ATT</organization>
81 <organizationUrl>www.att.com</organizationUrl>
82 </developer>
83 </developers>
Varun Gudisenaca63da62017-08-30 16:00:10 -050084
85 <dependencies>
sunil unnava9f253e32018-08-14 11:13:19 -040086 <!-- <dependency>
su622b58833d92018-04-04 16:19:55 -040087 <groupId>org.apache.tomcat</groupId>
88 <artifactId>tomcat-catalina</artifactId>
su622b6155c5b2018-04-18 18:15:03 -040089 <version>8.5.23</version>
sunil unnava20ae4292018-08-14 12:50:37 -040090 </dependency>
91 <dependency>
su622b58833d92018-04-04 16:19:55 -040092 <groupId>org.apache.tomcat</groupId>
93 <artifactId>tomcat-util</artifactId>
su622b6155c5b2018-04-18 18:15:03 -040094 <version>8.5.23</version>
sunil unnava20ae4292018-08-14 12:50:37 -040095 </dependency>
96 <dependency>
su622b58833d92018-04-04 16:19:55 -040097 <groupId>org.apache.tomcat.embed</groupId>
98 <artifactId>tomcat-embed-core</artifactId>
su622b6155c5b2018-04-18 18:15:03 -040099 <version>8.5.23</version>
sunil unnava9f253e32018-08-14 11:13:19 -0400100 </dependency> -->
Sunil Unnavad46bf362018-03-12 09:30:41 -0400101 <dependency>
102 <groupId>commons-collections</groupId>
103 <artifactId>commons-collections</artifactId>
104 <version>3.2.2</version>
105 </dependency>
106 <dependency>
107 <groupId>ch.qos.logback</groupId>
108 <artifactId>logback-core</artifactId>
109 <version>1.2.0</version>
110 </dependency>
111 <dependency>
112 <groupId>ch.qos.logback</groupId>
113 <artifactId>logback-classic</artifactId>
114 <version>1.2.0</version>
115 </dependency>
116 <!-- <dependency> <groupId>commons-beanutils</groupId> <artifactId>commons-beanutils</artifactId>
117 <version>1.9.2</version> <exclusions> We have JCL-over-SLF4J instead. <exclusion>
118 <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId>
119 </exclusion> </exclusions> </dependency> -->
120 <dependency>
121 <groupId>org.grails</groupId>
122 <artifactId>grails-web</artifactId>
su622b986192d2018-04-04 15:23:17 -0400123 <version>2.5.4</version>
su622b0a6f33a2018-03-13 15:34:48 -0400124 <exclusions>
125 <exclusion>
126 <groupId>org.grails</groupId>
127 <artifactId>grails-web-jsp</artifactId>
128 </exclusion>
129 </exclusions>
Sunil Unnavad46bf362018-03-12 09:30:41 -0400130 </dependency>
131 <dependency>
132 <groupId>org.grails</groupId>
133 <artifactId>grails-bootstrap</artifactId>
su622b986192d2018-04-04 15:23:17 -0400134 <version>2.5.4</version>
Sunil Unnavad46bf362018-03-12 09:30:41 -0400135 <scope>compile</scope>
136 <exclusions>
137 <exclusion>
138 <artifactId>ant</artifactId>
139 <groupId>org.apache.ant</groupId>
140 </exclusion>
141 <exclusion>
142 <artifactId>jna</artifactId>
143 <groupId>net.java.dev.jna</groupId>
144 </exclusion>
145 <exclusion>
146 <artifactId>ant-trax</artifactId>
147 <groupId>org.apache.ant</groupId>
148 </exclusion>
149 <exclusion>
150 <artifactId>gant_groovy1.8</artifactId>
151 <groupId>org.codehaus.gant</groupId>
152 </exclusion>
153 <exclusion>
154 <artifactId>ant-launcher</artifactId>
155 <groupId>org.apache.ant</groupId>
156 </exclusion>
157 <exclusion>
158 <artifactId>jline</artifactId>
159 <groupId>jline</groupId>
160 </exclusion>
161 <exclusion>
162 <artifactId>ivy</artifactId>
163 <groupId>org.apache.ivy</groupId>
164 </exclusion>
165 <exclusion>
166 <artifactId>jansi</artifactId>
167 <groupId>org.fusesource.jansi</groupId>
168 </exclusion>
169 <exclusion>
170 <artifactId>commons-logging</artifactId>
171 <groupId>commons-logging</groupId>
172 </exclusion>
173 <exclusion>
174 <artifactId>ant-junit</artifactId>
175 <groupId>org.apache.ant</groupId>
176 </exclusion>
177 </exclusions>
178 </dependency>
179 <dependency>
Sunil Unnava04e44e42018-03-08 13:40:50 -0500180 <groupId>org.springframework</groupId>
181 <artifactId>spring-test</artifactId>
182 <version>${spring.version}</version>
183 <scope>test</scope>
184 </dependency>
Sunil Unnavad46bf362018-03-12 09:30:41 -0400185 <dependency>
186 <groupId>org.codehaus.groovy</groupId>
187 <artifactId>groovy-all</artifactId>
sunil unnava64605542018-09-05 17:07:16 -0400188 <version>2.4.8</version>
Sunil Unnavad46bf362018-03-12 09:30:41 -0400189 <scope>compile</scope>
190 <exclusions>
191 <exclusion>
192 <artifactId>jline</artifactId>
193 <groupId>jline</groupId>
194 </exclusion>
195 </exclusions>
196 </dependency>
197 <dependency>
198 <groupId>commons-fileupload</groupId>
199 <artifactId>commons-fileupload</artifactId>
200 <version>1.3.3</version>
201 </dependency>
202
Varun Gudisenaca63da62017-08-30 16:00:10 -0500203 <dependency>
204 <groupId>junit</groupId>
205 <artifactId>junit</artifactId>
206 <version>4.11</version>
207 <scope>test</scope>
208 </dependency>
Sunil Unnava907bb772018-02-27 03:09:04 -0500209 <dependency>
210 <groupId>com.att.aft</groupId>
211 <artifactId>dme2</artifactId>
212 <version>3.1.200-oss</version>
sunil unnava20853552018-10-30 12:25:58 -0400213 <exclusions>
214 <exclusion>
215 <groupId>javax.jms</groupId>
216 <artifactId>jms</artifactId>
217 </exclusion>
218 </exclusions>
Sunil Unnavad46bf362018-03-12 09:30:41 -0400219 </dependency>
Varun Gudisenaca63da62017-08-30 16:00:10 -0500220
221 <!-- slf4j logger -->
222 <dependency>
223 <groupId>org.slf4j</groupId>
224 <artifactId>slf4j-api</artifactId>
225 <version>1.7.6</version>
226 </dependency>
227
228 <dependency>
229 <groupId>javax.inject</groupId>
230 <artifactId>javax.inject</artifactId>
231 <version>1</version>
232 </dependency>
233
234 <dependency>
235 <groupId>com.att.ajsc</groupId>
236 <artifactId>ajsc-core</artifactId>
237 <version>1.0.0</version>
238 </dependency>
239
240 <dependency>
241 <groupId>javax.ws.rs</groupId>
242 <artifactId>javax.ws.rs-api</artifactId>
243 <version>2.0.1</version>
244 </dependency>
245
246 <!-- <dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-rt-rs-client</artifactId>
247 <version>${cxf.version}</version> </dependency> <dependency> <groupId>org.apache.cxf</groupId>
248 <artifactId>cxf-rt-frontend-jaxws</artifactId> <version>${cxf.version}</version>
249 </dependency> <dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-rt-transports-http</artifactId>
250 <version>${cxf.version}</version> </dependency> Jetty is needed if you're
251 are not using the CXFServlet <dependency> <groupId>org.apache.cxf</groupId>
252 <artifactId>cxf-rt-transports-http-jetty</artifactId> <version>${cxf.version}</version>
253 </dependency> -->
254 <!-- Begin - Spring Dependencies for DI -->
255 <dependency>
256 <groupId>org.springframework</groupId>
Varun Gudisenaca63da62017-08-30 16:00:10 -0500257 <artifactId>spring-context</artifactId>
258 <version>${spring.version}</version>
259 </dependency>
260 <dependency>
261 <groupId>org.springframework</groupId>
su622b13711622018-04-17 17:17:30 -0400262 <artifactId>spring-expression</artifactId>
sunil unnava5f5477e2018-09-05 16:43:09 -0400263 <version>4.3.18.RELEASE</version>
Varun Gudisenaca63da62017-08-30 16:00:10 -0500264 </dependency>
265 <dependency>
266 <groupId>org.springframework</groupId>
su622b13711622018-04-17 17:17:30 -0400267 <artifactId>spring-webmvc</artifactId>
sunil unnava5f5477e2018-09-05 16:43:09 -0400268 <version>4.3.18.RELEASE</version>
su622b13711622018-04-17 17:17:30 -0400269 </dependency>
270 <dependency>
271 <groupId>org.springframework</groupId>
272 <artifactId>spring-core</artifactId>
sunil unnava5f5477e2018-09-05 16:43:09 -0400273 <version>4.3.18.RELEASE</version>
Varun Gudisenaca63da62017-08-30 16:00:10 -0500274 </dependency>
275 <dependency>
276 <groupId>javax.servlet</groupId>
277 <artifactId>javax.servlet-api</artifactId>
278 <version>3.0.1</version>
279 <scope>provided</scope>
280 </dependency>
281 <!-- End - Spring Dependencies for DI -->
282 <!-- Begin - Dependency on Dmaap Spring layer -->
283 <!-- <dependency> <groupId>com.att.dmaap</groupId> <artifactId>dmaap-spring</artifactId>
284 <version>0.0.1-SNAPSHOT</version> </dependency> -->
285 <!-- End - Dependency on Dmaap Spring layer -->
286 <!-- Begin - Dependency on log4j for logging purpose -->
287 <!-- <dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId>
288 <version>1.2.17</version> </dependency> -->
289 <!-- Log4j's enhanced pattern layout is shipped separately <dependency>
290 <groupId>log4j</groupId> <artifactId>apache-log4j-extras</artifactId> <version>1.2.17</version>
291 </dependency> -->
292 <!-- End - Dependency on log4j for logging purpose -->
293 <!-- ZooKeeper Library -->
294 <dependency>
295 <groupId>org.apache.zookeeper</groupId>
296 <artifactId>zookeeper</artifactId>
su622b986192d2018-04-04 15:23:17 -0400297 <version>3.4.10</version>
Varun Gudisenaca63da62017-08-30 16:00:10 -0500298 </dependency>
299
300 <!-- JSON libraries -->
301 <dependency>
302 <groupId>org.json</groupId>
303 <artifactId>json</artifactId>
304 <version>20131018</version>
305 </dependency>
306
307 <!-- Apache Kafka -->
308 <dependency>
309 <groupId>org.apache.kafka</groupId>
sunil unnavab32effc2018-08-14 09:34:46 -0400310 <artifactId>kafka_2.11</artifactId>
sunil unnava64605542018-09-05 17:07:16 -0400311 <version>0.11.0.3</version>
Varun Gudisenaca63da62017-08-30 16:00:10 -0500312 </dependency>
sunil unnava5f5477e2018-09-05 16:43:09 -0400313 <dependency>
314 <groupId>com.google.guava</groupId>
315 <artifactId>guava</artifactId>
sunil unnava64605542018-09-05 17:07:16 -0400316 <version>23.6.1-jre</version>
sunil unnava5f5477e2018-09-05 16:43:09 -0400317 </dependency>
Varun Gudisenaca63da62017-08-30 16:00:10 -0500318
319 <dependency>
320 <groupId>com.att.eelf</groupId>
321 <artifactId>eelf-core</artifactId>
322 <version>0.0.1</version>
323 <scope>compile</scope>
324 </dependency>
325 <!-- our NSA server library -->
326 <dependency>
327 <groupId>com.att.nsa</groupId>
328 <artifactId>nsaServerLibrary</artifactId>
329 <version>1.0.10</version>
sunil unnava20ae4292018-08-14 12:50:37 -0400330 <exclusions>
331 <exclusion>
332 <groupId>org.apache.tomcat</groupId>
333 <artifactId>tomcat-catalina</artifactId>
334 </exclusion>
335 <exclusion>
336 <groupId>org.apache.tomcat.embed</groupId>
337 <artifactId>tomcat-embed-core</artifactId>
338 </exclusion>
339 <exclusion>
340 <groupId>org.apache.tomcat</groupId>
341 <artifactId>tomcat-util</artifactId>
342 </exclusion>
sunil unnava2b658742018-11-01 18:03:07 -0400343 <exclusion>
344 <groupId>javax.mail</groupId>
345 <artifactId>mail</artifactId>
346 </exclusion>
sunil unnava20ae4292018-08-14 12:50:37 -0400347 </exclusions>
Varun Gudisenaca63da62017-08-30 16:00:10 -0500348 </dependency>
349 <dependency>
350 <groupId>com.att.nsa</groupId>
351 <artifactId>saToolkit</artifactId>
352 <version>0.0.1</version>
353 </dependency>
sunil unnava2b658742018-11-01 18:03:07 -0400354 <dependency>
355 <groupId>javax.mail</groupId>
356 <artifactId>mail</artifactId>
357 <version>1.4.4</version>
358 </dependency>
Varun Gudisenaca63da62017-08-30 16:00:10 -0500359
360 <!-- our Highland Park library -->
Sunil Unnavad46bf362018-03-12 09:30:41 -0400361 <!-- <dependency> <groupId>com.att.nsa</groupId> <artifactId>highlandParkCore</artifactId>
362 <version>0.4.9</version> </dependency> -->
Varun Gudisenaca63da62017-08-30 16:00:10 -0500363
364 <!-- our base client library, for its command line tools -->
365 <dependency>
366 <groupId>com.att.nsa</groupId>
367 <artifactId>saClientLibrary</artifactId>
368 <version>0.0.1</version>
369 <exclusions>
370 <exclusion>
371 <groupId>org.apache.httpcomponents</groupId>
372 <artifactId>httpclient</artifactId>
373 </exclusion>
374 <exclusion>
375 <groupId>org.apache.httpcomponents</groupId>
376 <artifactId>httpclient-cache</artifactId>
377 </exclusion>
378 </exclusions>
379 </dependency>
380 <dependency>
Sunil Unnavad46bf362018-03-12 09:30:41 -0400381 <groupId>org.apache.httpcomponents</groupId>
382 <artifactId>httpclient</artifactId>
383 <version>4.5.3</version>
384 </dependency>
385 <dependency>
386 <groupId>org.apache.httpcomponents</groupId>
387 <artifactId>httpclient-cache</artifactId>
388 <version>4.5.3</version>
389 </dependency>
390 <dependency>
391 <groupId>org.apache.httpcomponents</groupId>
392 <artifactId>httpcore</artifactId>
393 <version>4.4.1</version>
394 </dependency>
395
396
Varun Gudisenaca63da62017-08-30 16:00:10 -0500397 <!-- explicit jline add b/c it conflicts with the zk client -->
398 <dependency>
399 <groupId>jline</groupId>
400 <artifactId>jline</artifactId>
401 <version>2.12.1</version>
402 </dependency>
403
404 <dependency>
405 <groupId>org.apache.curator</groupId>
406 <artifactId>curator-recipes</artifactId>
sunil unnava5f5477e2018-09-05 16:43:09 -0400407 <version>4.0.1</version>
Varun Gudisenaca63da62017-08-30 16:00:10 -0500408 </dependency>
409
410 <dependency>
411 <groupId>org.apache.curator</groupId>
412 <artifactId>curator-test</artifactId>
sunil unnava5f5477e2018-09-05 16:43:09 -0400413 <version>4.0.1</version>
Varun Gudisenaca63da62017-08-30 16:00:10 -0500414 </dependency>
415
Varun Gudisenaca63da62017-08-30 16:00:10 -0500416
Sunil Unnavad46bf362018-03-12 09:30:41 -0400417 <dependency>
418 <groupId>com.google.code.gson</groupId>
419 <artifactId>gson</artifactId>
420 <version>2.8.0</version>
421 </dependency>
rn509jfd8f9852017-10-01 21:36:35 -0400422
423 <dependency>
424 <groupId>com.fasterxml.jackson.core</groupId>
425 <artifactId>jackson-core</artifactId>
Sunil Unnava04e44e42018-03-08 13:40:50 -0500426 <version>2.8.11</version>
rn509jfd8f9852017-10-01 21:36:35 -0400427 <scope>test</scope>
428 </dependency>
Sunil Unnavad46bf362018-03-12 09:30:41 -0400429
Sunil Unnavae4b46982018-03-01 13:38:34 -0500430 <dependency>
431 <groupId>com.fasterxml.jackson.core</groupId>
432 <artifactId>jackson-databind</artifactId>
Sunil Unnava04e44e42018-03-08 13:40:50 -0500433 <version>2.8.11.1</version>
Sunil Unnavae4b46982018-03-01 13:38:34 -0500434 </dependency>
rn509jfd8f9852017-10-01 21:36:35 -0400435
436 <dependency>
437 <groupId>org.powermock</groupId>
438 <artifactId>powermock-api-mockito</artifactId>
Sunil Unnavae4b46982018-03-01 13:38:34 -0500439 <version>1.6.4</version>
rn509jfd8f9852017-10-01 21:36:35 -0400440 <scope>test</scope>
441 </dependency>
442
443 <dependency>
444 <groupId>org.powermock</groupId>
445 <artifactId>powermock-module-junit4</artifactId>
Sunil Unnavae4b46982018-03-01 13:38:34 -0500446 <version>1.6.4</version>
rn509jfd8f9852017-10-01 21:36:35 -0400447 <scope>test</scope>
448 </dependency>
Sunil Unnavad46bf362018-03-12 09:30:41 -0400449
rn509jfd8f9852017-10-01 21:36:35 -0400450 <dependency>
Sunil Unnavad46bf362018-03-12 09:30:41 -0400451 <groupId>org.powermock</groupId>
452 <artifactId>powermock-module-junit4-rule</artifactId>
453 <version>1.6.4</version>
454 <scope>test</scope>
rn509jfd8f9852017-10-01 21:36:35 -0400455 </dependency>
Sunil Unnavae4b46982018-03-01 13:38:34 -0500456 <dependency>
457 <groupId>org.mockito</groupId>
458 <artifactId>mockito-core</artifactId>
459 <version>1.10.19</version>
460 <scope>test</scope>
461 </dependency>
Sunil Unnavad46bf362018-03-12 09:30:41 -0400462
Varun Gudisenaca63da62017-08-30 16:00:10 -0500463 </dependencies>
464 <build>
465 <finalName>DMaaP</finalName>
466 <resources>
467 <resource>
468 <directory>src/main/resources</directory>
469 <filtering>true</filtering>
470 <includes>
471 <include>**/*.properties</include>
472 </includes>
473 </resource>
474 <!-- <resource> <directory>src/main/config</directory> <filtering>true</filtering>
475 <includes> <include>**/log4j*.xml</include> </includes> </resource> <resource>
476 <directory>src/main/resources</directory> <filtering>false</filtering> <excludes>
477 <exclude>**/cambriaApiVersion.properties</exclude> </excludes> </resource> -->
478 </resources>
479 <plugins>
480 <!-- <plugin> <artifactId>maven-assembly-plugin</artifactId> <version>2.4.1</version>
481 <configuration> <descriptors> <descriptor>src/assembly/dep.xml</descriptor>
482 </descriptors> </configuration> <executions> <execution> <id>make-assembly</id>
483 this is used for inheritance merges -->
484 <!-- <phase>package</phase> bind to the packaging phase <goals> <goal>single</goal>
485 </goals> </execution> </executions> </plugin> -->
486 <!-- -->
Varun Gudisenaca63da62017-08-30 16:00:10 -0500487 <plugin>
488 <groupId>org.apache.maven.plugins</groupId>
Varun Gudisenad245aec2017-09-21 23:39:45 -0500489 <artifactId>maven-site-plugin</artifactId>
490 <version>3.6</version>
491 <dependencies>
492 <dependency>
493 <groupId>org.apache.maven.wagon</groupId>
494 <artifactId>wagon-webdav-jackrabbit</artifactId>
495 <version>2.10</version>
496 </dependency>
497 </dependencies>
498 </plugin>
499 <plugin>
500 <groupId>org.apache.maven.plugins</groupId>
Varun Gudisenaca63da62017-08-30 16:00:10 -0500501 <artifactId>maven-javadoc-plugin</artifactId>
502 <version>2.10.4</version>
503 <configuration>
504 <additionalparam>-Xdoclint:none</additionalparam>
505 </configuration>
506 <executions>
507 <execution>
508 <id>attach-javadocs</id>
509 <goals>
510 <goal>jar</goal>
511 </goals>
512 </execution>
513 </executions>
514 </plugin>
515 <plugin>
516 <groupId>org.apache.maven.plugins</groupId>
517 <artifactId>maven-source-plugin</artifactId>
518 <version>3.0.0</version>
519 <executions>
520 <execution>
521 <id>attach-sources</id>
522 <goals>
523 <goal>jar-no-fork</goal>
524 </goals>
525 </execution>
526 </executions>
Sunil Unnavad46bf362018-03-12 09:30:41 -0400527 </plugin>
Varun Gudisenaca63da62017-08-30 16:00:10 -0500528 <plugin>
529 <groupId>org.apache.maven.plugins</groupId>
530 <artifactId>maven-surefire-plugin</artifactId>
531 <version>2.12.4</version>
532 <configuration>
533 <excludes>
Sunil Unnavad46bf362018-03-12 09:30:41 -0400534 <!-- exclude until junits updated <exclude>**/DME2*.java</exclude> -->
Varun Gudisenaca63da62017-08-30 16:00:10 -0500535 </excludes>
536 <!-- <skipTests>true</skipTests> -->
537 </configuration>
538 </plugin>
Sunil Unnavad46bf362018-03-12 09:30:41 -0400539 <plugin>
540 <groupId>org.codehaus.mojo</groupId>
541 <artifactId>cobertura-maven-plugin</artifactId>
542 <version>2.7</version>
543 <configuration>
544 <formats>
545 <format>html</format>
546 <format>xml</format>
547 </formats>
548 </configuration>
549 </plugin>
550 <!-- <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId>
551 <version>${jacoco.version}</version> <configuration> Note: This exclusion
552 list should match <sonar.exclusions> property above <excludes> <exclude>**/gen/**</exclude>
553 <exclude>**/generated-sources/**</exclude> <exclude>**/yang-gen/**</exclude>
554 <exclude>**/pax/**</exclude> </excludes> </configuration> <executions> Prepares
555 the property pointing to the JaCoCo runtime agent which is passed as VM argument
556 when Maven the Surefire plugin is executed. <execution> <id>pre-unit-test</id>
557 <goals> <goal>prepare-agent</goal> </goals> <configuration> Sets the path
558 to the file which contains the execution data. <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
559 Sets the name of the property containing the settings for JaCoCo runtime
560 agent. <propertyName>surefireArgLine</propertyName> </configuration> </execution>
561 Ensures that the code coverage report for unit tests is created after unit
562 tests have been run. <execution> <id>post-unit-test</id> <phase>test</phase>
563 <goals> <goal>report</goal> </goals> <configuration> Sets the path to the
564 file which contains the execution data. <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
565 Sets the output directory for the code coverage report. <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
566 </configuration> </execution> <execution> <id>pre-integration-test</id> <phase>pre-integration-test</phase>
567 <goals> <goal>prepare-agent</goal> </goals> <configuration> Sets the path
568 to the file which contains the execution data. <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
569 Sets the name of the property containing the settings for JaCoCo runtime
570 agent. <propertyName>failsafeArgLine</propertyName> </configuration> </execution>
571 Ensures that the code coverage report for integration tests after integration
572 tests have been run. <execution> <id>post-integration-test</id> <phase>post-integration-test</phase>
573 <goals> <goal>report</goal> </goals> <configuration> Sets the path to the
574 file which contains the execution data. <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
575 Sets the output directory for the code coverage report. <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
576 </configuration> </execution> </executions> </plugin> -->
577 </plugins>
Varun Gudisenaca63da62017-08-30 16:00:10 -0500578 </build>
579
580 <!-- <profiles> <profile> <id>jenkins</id> <activation> <property> <name>env.BUILD_NUMBER</name>
581 </property> </activation> <build> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId>
582 <artifactId>cobertura-maven-plugin</artifactId> </plugin> <plugin> <groupId>com.att.aft.swm</groupId>
583 <artifactId>swm-plugin</artifactId> <version>1.4.4.12</version> <configuration>
584 <distFilesRootDirPath>/opt/app/dmaap/msgrtr/jenkinsbuild</distFilesRootDirPath>
585 <version>${project.version}-${env.BUILD_NUMBER}</version> <scriptExcludes>
586 <scriptExclude>**/swmpkgclean.sh</scriptExclude> </scriptExcludes> </configuration>
587 <executions> <execution> <id>pkgstage</id> <goals> <goal>pkgstage</goal>
588 </goals> </execution> <execution> <id>pkgcreate</id> <goals> <goal>pkgcreate</goal>
589 </goals> </execution> <execution> <id>pkginstall</id> <goals> <goal>install</goal>
590 </goals> <configuration> <componentName>com.att.nsa:msgrtr</componentName>
591 <version>${project.version}-${env.BUILD_NUMBER}</version> <waitTimeMins>4</waitTimeMins>
592 <properties> <property> <name>overrideDependencyConflicts</name> <value>true</value>
593 </property> <property> <name>AFTSWM_NOTIFY_ADDRESSES</name> <value>mailto:rs857c@att.com</value>
594 </property> </properties> </configuration> </execution> </executions> </plugin>
595 <plugin> <artifactId>maven-antrun-plugin</artifactId> <executions> <execution>
596 <phase>package</phase> <configuration> <tasks> <copy file="./src/main/scripts/swmpkgclean.sh"
597 toDir="./target" /> </tasks> </configuration> <goals> <goal>run</goal> </goals>
598 </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId>
599 <artifactId>maven-deploy-plugin</artifactId> <version>2.5</version> <configuration>
600 <skip>true</skip> </configuration> </plugin> </plugins> </build> </profile>
601 </profiles> -->
Jessica Wagantall1b618902017-09-08 13:14:43 -0700602</project>