blob: 69590ff0f0da433bf9781f3ad7f4e21cb57586c7 [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>
su622b56fe8d72018-04-02 14:37:16 -040017 <version>1.1.3-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>
Sunil Unnavad46bf362018-03-12 09:30:41 -040035
36 <!-- SONAR -->
37 <jacoco.version>0.7.7.201606060606</jacoco.version>
38 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
39 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
40 <!-- Default Sonar configuration -->
41 <sonar.jacoco.reportPath>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>
42 <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
43 <!-- Note: This list should match jacoco-maven-plugin's exclusion list
44 below -->
45 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
46 <sitePath>/content/sites/site/org/onap/dmaap/messagerouter/msgrtr/${project.artifactId}/${project.version}</sitePath>
Varun Gudisena71cef932017-09-25 11:13:59 -050047 <nexusproxy>https://nexus.onap.org</nexusproxy>
Varun Gudisenaca63da62017-08-30 16:00:10 -050048 </properties>
49
50 <!-- Distribution management -->
51 <!-- Currently all artifacts will be uploaded to att-public-group reposiotry
52 on Maven Central -->
Varun Gudisenad245aec2017-09-21 23:39:45 -050053 <distributionManagement>
54 <site>
55 <id>ecomp-site</id>
56 <url>dav:${nexusproxy}${sitePath}</url>
57 </site>
58 </distributionManagement>
Varun Gudisenaca63da62017-08-30 16:00:10 -050059
60 <!-- End Distribution management -->
61
Sunil Unnavad46bf362018-03-12 09:30:41 -040062 <licenses>
63 <license>
64 <name>Apache License Version 2.0</name>
65 </license>
Varun Gudisenaca63da62017-08-30 16:00:10 -050066 </licenses>
67
68 <developers>
Sunil Unnavad46bf362018-03-12 09:30:41 -040069 <developer>
70 <name>Rajashree</name>
71 <email></email>
72 <organization>ATT</organization>
73 <organizationUrl>www.att.com</organizationUrl>
74 </developer>
75 <developer>
76 <name>Ramkumar</name>
77 <email></email>
78 <organization>ATT</organization>
79 <organizationUrl>www.att.com</organizationUrl>
80 </developer>
81 </developers>
Varun Gudisenaca63da62017-08-30 16:00:10 -050082
83 <dependencies>
su622b6b1df202018-04-06 14:53:57 -040084 <!-- <dependency>
su622b58833d92018-04-04 16:19:55 -040085 <groupId>org.apache.tomcat</groupId>
86 <artifactId>tomcat-catalina</artifactId>
su622b9fc5cba2018-04-06 13:56:19 -040087 <version>8.0.47</version>
su622b58833d92018-04-04 16:19:55 -040088 </dependency>
89 <dependency>
90 <groupId>org.apache.tomcat</groupId>
91 <artifactId>tomcat-util</artifactId>
su622b9fc5cba2018-04-06 13:56:19 -040092 <version>8.0.47</version>
su622b58833d92018-04-04 16:19:55 -040093 </dependency>
94 <dependency>
95 <groupId>org.apache.tomcat.embed</groupId>
96 <artifactId>tomcat-embed-core</artifactId>
su622b9fc5cba2018-04-06 13:56:19 -040097 <version>8.0.47</version>
su622b6b1df202018-04-06 14:53:57 -040098 </dependency> -->
Sunil Unnavad46bf362018-03-12 09:30:41 -040099 <dependency>
100 <groupId>commons-collections</groupId>
101 <artifactId>commons-collections</artifactId>
102 <version>3.2.2</version>
103 </dependency>
104 <dependency>
105 <groupId>ch.qos.logback</groupId>
106 <artifactId>logback-core</artifactId>
107 <version>1.2.0</version>
108 </dependency>
109 <dependency>
110 <groupId>ch.qos.logback</groupId>
111 <artifactId>logback-classic</artifactId>
112 <version>1.2.0</version>
113 </dependency>
114 <!-- <dependency> <groupId>commons-beanutils</groupId> <artifactId>commons-beanutils</artifactId>
115 <version>1.9.2</version> <exclusions> We have JCL-over-SLF4J instead. <exclusion>
116 <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId>
117 </exclusion> </exclusions> </dependency> -->
118 <dependency>
119 <groupId>org.grails</groupId>
120 <artifactId>grails-web</artifactId>
su622b986192d2018-04-04 15:23:17 -0400121 <version>2.5.4</version>
su622b0a6f33a2018-03-13 15:34:48 -0400122 <exclusions>
123 <exclusion>
124 <groupId>org.grails</groupId>
125 <artifactId>grails-web-jsp</artifactId>
126 </exclusion>
127 </exclusions>
Sunil Unnavad46bf362018-03-12 09:30:41 -0400128 </dependency>
129 <dependency>
130 <groupId>org.grails</groupId>
131 <artifactId>grails-bootstrap</artifactId>
su622b986192d2018-04-04 15:23:17 -0400132 <version>2.5.4</version>
Sunil Unnavad46bf362018-03-12 09:30:41 -0400133 <scope>compile</scope>
134 <exclusions>
135 <exclusion>
136 <artifactId>ant</artifactId>
137 <groupId>org.apache.ant</groupId>
138 </exclusion>
139 <exclusion>
140 <artifactId>jna</artifactId>
141 <groupId>net.java.dev.jna</groupId>
142 </exclusion>
143 <exclusion>
144 <artifactId>ant-trax</artifactId>
145 <groupId>org.apache.ant</groupId>
146 </exclusion>
147 <exclusion>
148 <artifactId>gant_groovy1.8</artifactId>
149 <groupId>org.codehaus.gant</groupId>
150 </exclusion>
151 <exclusion>
152 <artifactId>ant-launcher</artifactId>
153 <groupId>org.apache.ant</groupId>
154 </exclusion>
155 <exclusion>
156 <artifactId>jline</artifactId>
157 <groupId>jline</groupId>
158 </exclusion>
159 <exclusion>
160 <artifactId>ivy</artifactId>
161 <groupId>org.apache.ivy</groupId>
162 </exclusion>
163 <exclusion>
164 <artifactId>jansi</artifactId>
165 <groupId>org.fusesource.jansi</groupId>
166 </exclusion>
167 <exclusion>
168 <artifactId>commons-logging</artifactId>
169 <groupId>commons-logging</groupId>
170 </exclusion>
171 <exclusion>
172 <artifactId>ant-junit</artifactId>
173 <groupId>org.apache.ant</groupId>
174 </exclusion>
175 </exclusions>
176 </dependency>
177 <dependency>
Sunil Unnava04e44e42018-03-08 13:40:50 -0500178 <groupId>org.springframework</groupId>
179 <artifactId>spring-test</artifactId>
180 <version>${spring.version}</version>
181 <scope>test</scope>
182 </dependency>
Sunil Unnavad46bf362018-03-12 09:30:41 -0400183 <dependency>
184 <groupId>org.codehaus.groovy</groupId>
185 <artifactId>groovy-all</artifactId>
186 <version>2.4.4</version>
187 <scope>compile</scope>
188 <exclusions>
189 <exclusion>
190 <artifactId>jline</artifactId>
191 <groupId>jline</groupId>
192 </exclusion>
193 </exclusions>
194 </dependency>
195 <dependency>
196 <groupId>commons-fileupload</groupId>
197 <artifactId>commons-fileupload</artifactId>
198 <version>1.3.3</version>
199 </dependency>
200
Varun Gudisenaca63da62017-08-30 16:00:10 -0500201 <dependency>
202 <groupId>junit</groupId>
203 <artifactId>junit</artifactId>
204 <version>4.11</version>
205 <scope>test</scope>
206 </dependency>
Sunil Unnava907bb772018-02-27 03:09:04 -0500207 <dependency>
208 <groupId>com.att.aft</groupId>
209 <artifactId>dme2</artifactId>
210 <version>3.1.200-oss</version>
Sunil Unnavad46bf362018-03-12 09:30:41 -0400211 </dependency>
Varun Gudisenaca63da62017-08-30 16:00:10 -0500212
213 <!-- slf4j logger -->
214 <dependency>
215 <groupId>org.slf4j</groupId>
216 <artifactId>slf4j-api</artifactId>
217 <version>1.7.6</version>
218 </dependency>
219
220 <dependency>
221 <groupId>javax.inject</groupId>
222 <artifactId>javax.inject</artifactId>
223 <version>1</version>
224 </dependency>
225
226 <dependency>
227 <groupId>com.att.ajsc</groupId>
228 <artifactId>ajsc-core</artifactId>
229 <version>1.0.0</version>
230 </dependency>
231
232 <dependency>
233 <groupId>javax.ws.rs</groupId>
234 <artifactId>javax.ws.rs-api</artifactId>
235 <version>2.0.1</version>
236 </dependency>
237
238 <!-- <dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-rt-rs-client</artifactId>
239 <version>${cxf.version}</version> </dependency> <dependency> <groupId>org.apache.cxf</groupId>
240 <artifactId>cxf-rt-frontend-jaxws</artifactId> <version>${cxf.version}</version>
241 </dependency> <dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-rt-transports-http</artifactId>
242 <version>${cxf.version}</version> </dependency> Jetty is needed if you're
243 are not using the CXFServlet <dependency> <groupId>org.apache.cxf</groupId>
244 <artifactId>cxf-rt-transports-http-jetty</artifactId> <version>${cxf.version}</version>
245 </dependency> -->
246 <!-- Begin - Spring Dependencies for DI -->
247 <dependency>
248 <groupId>org.springframework</groupId>
249 <artifactId>spring-core</artifactId>
250 <version>${spring.version}</version>
251 </dependency>
252 <dependency>
253 <groupId>org.springframework</groupId>
254 <artifactId>spring-context</artifactId>
255 <version>${spring.version}</version>
256 </dependency>
257 <dependency>
258 <groupId>org.springframework</groupId>
259 <artifactId>spring-webmvc</artifactId>
260 <version>${spring.version}</version>
261 </dependency>
262 <dependency>
263 <groupId>org.springframework</groupId>
264 <artifactId>spring-web</artifactId>
265 <version>${spring.version}</version>
266 </dependency>
267 <dependency>
268 <groupId>javax.servlet</groupId>
269 <artifactId>javax.servlet-api</artifactId>
270 <version>3.0.1</version>
271 <scope>provided</scope>
272 </dependency>
273 <!-- End - Spring Dependencies for DI -->
274 <!-- Begin - Dependency on Dmaap Spring layer -->
275 <!-- <dependency> <groupId>com.att.dmaap</groupId> <artifactId>dmaap-spring</artifactId>
276 <version>0.0.1-SNAPSHOT</version> </dependency> -->
277 <!-- End - Dependency on Dmaap Spring layer -->
278 <!-- Begin - Dependency on log4j for logging purpose -->
279 <!-- <dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId>
280 <version>1.2.17</version> </dependency> -->
281 <!-- Log4j's enhanced pattern layout is shipped separately <dependency>
282 <groupId>log4j</groupId> <artifactId>apache-log4j-extras</artifactId> <version>1.2.17</version>
283 </dependency> -->
284 <!-- End - Dependency on log4j for logging purpose -->
285 <!-- ZooKeeper Library -->
286 <dependency>
287 <groupId>org.apache.zookeeper</groupId>
288 <artifactId>zookeeper</artifactId>
su622b986192d2018-04-04 15:23:17 -0400289 <version>3.4.10</version>
Varun Gudisenaca63da62017-08-30 16:00:10 -0500290 </dependency>
291
292 <!-- JSON libraries -->
293 <dependency>
294 <groupId>org.json</groupId>
295 <artifactId>json</artifactId>
296 <version>20131018</version>
297 </dependency>
298
299 <!-- Apache Kafka -->
300 <dependency>
301 <groupId>org.apache.kafka</groupId>
302 <artifactId>kafka_2.10</artifactId>
303 <version>0.8.2.1</version>
304 </dependency>
305
306 <dependency>
307 <groupId>com.att.eelf</groupId>
308 <artifactId>eelf-core</artifactId>
309 <version>0.0.1</version>
310 <scope>compile</scope>
311 </dependency>
312 <!-- our NSA server library -->
313 <dependency>
314 <groupId>com.att.nsa</groupId>
315 <artifactId>nsaServerLibrary</artifactId>
316 <version>1.0.10</version>
317 </dependency>
318 <dependency>
319 <groupId>com.att.nsa</groupId>
320 <artifactId>saToolkit</artifactId>
321 <version>0.0.1</version>
322 </dependency>
323
324 <!-- our Highland Park library -->
Sunil Unnavad46bf362018-03-12 09:30:41 -0400325 <!-- <dependency> <groupId>com.att.nsa</groupId> <artifactId>highlandParkCore</artifactId>
326 <version>0.4.9</version> </dependency> -->
Varun Gudisenaca63da62017-08-30 16:00:10 -0500327
328 <!-- our base client library, for its command line tools -->
329 <dependency>
330 <groupId>com.att.nsa</groupId>
331 <artifactId>saClientLibrary</artifactId>
332 <version>0.0.1</version>
333 <exclusions>
334 <exclusion>
335 <groupId>org.apache.httpcomponents</groupId>
336 <artifactId>httpclient</artifactId>
337 </exclusion>
338 <exclusion>
339 <groupId>org.apache.httpcomponents</groupId>
340 <artifactId>httpclient-cache</artifactId>
341 </exclusion>
342 </exclusions>
343 </dependency>
344 <dependency>
Sunil Unnavad46bf362018-03-12 09:30:41 -0400345 <groupId>org.apache.httpcomponents</groupId>
346 <artifactId>httpclient</artifactId>
347 <version>4.5.3</version>
348 </dependency>
349 <dependency>
350 <groupId>org.apache.httpcomponents</groupId>
351 <artifactId>httpclient-cache</artifactId>
352 <version>4.5.3</version>
353 </dependency>
354 <dependency>
355 <groupId>org.apache.httpcomponents</groupId>
356 <artifactId>httpcore</artifactId>
357 <version>4.4.1</version>
358 </dependency>
359
360
Varun Gudisenaca63da62017-08-30 16:00:10 -0500361 <!-- explicit jline add b/c it conflicts with the zk client -->
362 <dependency>
363 <groupId>jline</groupId>
364 <artifactId>jline</artifactId>
365 <version>2.12.1</version>
366 </dependency>
367
368 <dependency>
369 <groupId>org.apache.curator</groupId>
370 <artifactId>curator-recipes</artifactId>
371 <version>2.6.0</version>
372 </dependency>
373
374 <dependency>
375 <groupId>org.apache.curator</groupId>
376 <artifactId>curator-test</artifactId>
377 <version>2.6.0</version>
378 </dependency>
379
Varun Gudisenaca63da62017-08-30 16:00:10 -0500380
Sunil Unnavad46bf362018-03-12 09:30:41 -0400381 <dependency>
382 <groupId>com.google.code.gson</groupId>
383 <artifactId>gson</artifactId>
384 <version>2.8.0</version>
385 </dependency>
rn509jfd8f9852017-10-01 21:36:35 -0400386
387 <dependency>
388 <groupId>com.fasterxml.jackson.core</groupId>
389 <artifactId>jackson-core</artifactId>
Sunil Unnava04e44e42018-03-08 13:40:50 -0500390 <version>2.8.11</version>
rn509jfd8f9852017-10-01 21:36:35 -0400391 <scope>test</scope>
392 </dependency>
Sunil Unnavad46bf362018-03-12 09:30:41 -0400393
Sunil Unnavae4b46982018-03-01 13:38:34 -0500394 <dependency>
395 <groupId>com.fasterxml.jackson.core</groupId>
396 <artifactId>jackson-databind</artifactId>
Sunil Unnava04e44e42018-03-08 13:40:50 -0500397 <version>2.8.11.1</version>
Sunil Unnavae4b46982018-03-01 13:38:34 -0500398 </dependency>
rn509jfd8f9852017-10-01 21:36:35 -0400399
400 <dependency>
401 <groupId>org.powermock</groupId>
402 <artifactId>powermock-api-mockito</artifactId>
Sunil Unnavae4b46982018-03-01 13:38:34 -0500403 <version>1.6.4</version>
rn509jfd8f9852017-10-01 21:36:35 -0400404 <scope>test</scope>
405 </dependency>
406
407 <dependency>
408 <groupId>org.powermock</groupId>
409 <artifactId>powermock-module-junit4</artifactId>
Sunil Unnavae4b46982018-03-01 13:38:34 -0500410 <version>1.6.4</version>
rn509jfd8f9852017-10-01 21:36:35 -0400411 <scope>test</scope>
412 </dependency>
Sunil Unnavad46bf362018-03-12 09:30:41 -0400413
rn509jfd8f9852017-10-01 21:36:35 -0400414 <dependency>
Sunil Unnavad46bf362018-03-12 09:30:41 -0400415 <groupId>org.powermock</groupId>
416 <artifactId>powermock-module-junit4-rule</artifactId>
417 <version>1.6.4</version>
418 <scope>test</scope>
rn509jfd8f9852017-10-01 21:36:35 -0400419 </dependency>
Sunil Unnavae4b46982018-03-01 13:38:34 -0500420 <dependency>
421 <groupId>org.mockito</groupId>
422 <artifactId>mockito-core</artifactId>
423 <version>1.10.19</version>
424 <scope>test</scope>
425 </dependency>
Sunil Unnavad46bf362018-03-12 09:30:41 -0400426
Varun Gudisenaca63da62017-08-30 16:00:10 -0500427 </dependencies>
428 <build>
429 <finalName>DMaaP</finalName>
430 <resources>
431 <resource>
432 <directory>src/main/resources</directory>
433 <filtering>true</filtering>
434 <includes>
435 <include>**/*.properties</include>
436 </includes>
437 </resource>
438 <!-- <resource> <directory>src/main/config</directory> <filtering>true</filtering>
439 <includes> <include>**/log4j*.xml</include> </includes> </resource> <resource>
440 <directory>src/main/resources</directory> <filtering>false</filtering> <excludes>
441 <exclude>**/cambriaApiVersion.properties</exclude> </excludes> </resource> -->
442 </resources>
443 <plugins>
444 <!-- <plugin> <artifactId>maven-assembly-plugin</artifactId> <version>2.4.1</version>
445 <configuration> <descriptors> <descriptor>src/assembly/dep.xml</descriptor>
446 </descriptors> </configuration> <executions> <execution> <id>make-assembly</id>
447 this is used for inheritance merges -->
448 <!-- <phase>package</phase> bind to the packaging phase <goals> <goal>single</goal>
449 </goals> </execution> </executions> </plugin> -->
450 <!-- -->
Varun Gudisenaca63da62017-08-30 16:00:10 -0500451 <plugin>
452 <groupId>org.apache.maven.plugins</groupId>
Varun Gudisenad245aec2017-09-21 23:39:45 -0500453 <artifactId>maven-site-plugin</artifactId>
454 <version>3.6</version>
455 <dependencies>
456 <dependency>
457 <groupId>org.apache.maven.wagon</groupId>
458 <artifactId>wagon-webdav-jackrabbit</artifactId>
459 <version>2.10</version>
460 </dependency>
461 </dependencies>
462 </plugin>
463 <plugin>
464 <groupId>org.apache.maven.plugins</groupId>
Varun Gudisenaca63da62017-08-30 16:00:10 -0500465 <artifactId>maven-javadoc-plugin</artifactId>
466 <version>2.10.4</version>
467 <configuration>
468 <additionalparam>-Xdoclint:none</additionalparam>
469 </configuration>
470 <executions>
471 <execution>
472 <id>attach-javadocs</id>
473 <goals>
474 <goal>jar</goal>
475 </goals>
476 </execution>
477 </executions>
478 </plugin>
479 <plugin>
480 <groupId>org.apache.maven.plugins</groupId>
481 <artifactId>maven-source-plugin</artifactId>
482 <version>3.0.0</version>
483 <executions>
484 <execution>
485 <id>attach-sources</id>
486 <goals>
487 <goal>jar-no-fork</goal>
488 </goals>
489 </execution>
490 </executions>
Sunil Unnavad46bf362018-03-12 09:30:41 -0400491 </plugin>
Varun Gudisenaca63da62017-08-30 16:00:10 -0500492 <plugin>
493 <groupId>org.apache.maven.plugins</groupId>
494 <artifactId>maven-surefire-plugin</artifactId>
495 <version>2.12.4</version>
496 <configuration>
497 <excludes>
Sunil Unnavad46bf362018-03-12 09:30:41 -0400498 <!-- exclude until junits updated <exclude>**/DME2*.java</exclude> -->
Varun Gudisenaca63da62017-08-30 16:00:10 -0500499 </excludes>
500 <!-- <skipTests>true</skipTests> -->
501 </configuration>
502 </plugin>
Sunil Unnavad46bf362018-03-12 09:30:41 -0400503 <plugin>
504 <groupId>org.codehaus.mojo</groupId>
505 <artifactId>cobertura-maven-plugin</artifactId>
506 <version>2.7</version>
507 <configuration>
508 <formats>
509 <format>html</format>
510 <format>xml</format>
511 </formats>
512 </configuration>
513 </plugin>
514 <!-- <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId>
515 <version>${jacoco.version}</version> <configuration> Note: This exclusion
516 list should match <sonar.exclusions> property above <excludes> <exclude>**/gen/**</exclude>
517 <exclude>**/generated-sources/**</exclude> <exclude>**/yang-gen/**</exclude>
518 <exclude>**/pax/**</exclude> </excludes> </configuration> <executions> Prepares
519 the property pointing to the JaCoCo runtime agent which is passed as VM argument
520 when Maven the Surefire plugin is executed. <execution> <id>pre-unit-test</id>
521 <goals> <goal>prepare-agent</goal> </goals> <configuration> Sets the path
522 to the file which contains the execution data. <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
523 Sets the name of the property containing the settings for JaCoCo runtime
524 agent. <propertyName>surefireArgLine</propertyName> </configuration> </execution>
525 Ensures that the code coverage report for unit tests is created after unit
526 tests have been run. <execution> <id>post-unit-test</id> <phase>test</phase>
527 <goals> <goal>report</goal> </goals> <configuration> Sets the path to the
528 file which contains the execution data. <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
529 Sets the output directory for the code coverage report. <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
530 </configuration> </execution> <execution> <id>pre-integration-test</id> <phase>pre-integration-test</phase>
531 <goals> <goal>prepare-agent</goal> </goals> <configuration> Sets the path
532 to the file which contains the execution data. <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
533 Sets the name of the property containing the settings for JaCoCo runtime
534 agent. <propertyName>failsafeArgLine</propertyName> </configuration> </execution>
535 Ensures that the code coverage report for integration tests after integration
536 tests have been run. <execution> <id>post-integration-test</id> <phase>post-integration-test</phase>
537 <goals> <goal>report</goal> </goals> <configuration> Sets the path to the
538 file which contains the execution data. <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
539 Sets the output directory for the code coverage report. <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
540 </configuration> </execution> </executions> </plugin> -->
541 </plugins>
Varun Gudisenaca63da62017-08-30 16:00:10 -0500542 </build>
543
544 <!-- <profiles> <profile> <id>jenkins</id> <activation> <property> <name>env.BUILD_NUMBER</name>
545 </property> </activation> <build> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId>
546 <artifactId>cobertura-maven-plugin</artifactId> </plugin> <plugin> <groupId>com.att.aft.swm</groupId>
547 <artifactId>swm-plugin</artifactId> <version>1.4.4.12</version> <configuration>
548 <distFilesRootDirPath>/opt/app/dmaap/msgrtr/jenkinsbuild</distFilesRootDirPath>
549 <version>${project.version}-${env.BUILD_NUMBER}</version> <scriptExcludes>
550 <scriptExclude>**/swmpkgclean.sh</scriptExclude> </scriptExcludes> </configuration>
551 <executions> <execution> <id>pkgstage</id> <goals> <goal>pkgstage</goal>
552 </goals> </execution> <execution> <id>pkgcreate</id> <goals> <goal>pkgcreate</goal>
553 </goals> </execution> <execution> <id>pkginstall</id> <goals> <goal>install</goal>
554 </goals> <configuration> <componentName>com.att.nsa:msgrtr</componentName>
555 <version>${project.version}-${env.BUILD_NUMBER}</version> <waitTimeMins>4</waitTimeMins>
556 <properties> <property> <name>overrideDependencyConflicts</name> <value>true</value>
557 </property> <property> <name>AFTSWM_NOTIFY_ADDRESSES</name> <value>mailto:rs857c@att.com</value>
558 </property> </properties> </configuration> </execution> </executions> </plugin>
559 <plugin> <artifactId>maven-antrun-plugin</artifactId> <executions> <execution>
560 <phase>package</phase> <configuration> <tasks> <copy file="./src/main/scripts/swmpkgclean.sh"
561 toDir="./target" /> </tasks> </configuration> <goals> <goal>run</goal> </goals>
562 </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId>
563 <artifactId>maven-deploy-plugin</artifactId> <version>2.5</version> <configuration>
564 <skip>true</skip> </configuration> </plugin> </plugins> </build> </profile>
565 </profiles> -->
Jessica Wagantall1b618902017-09-08 13:14:43 -0700566</project>