blob: c5df287b0fb5a8407c5ca202201e68e1f617b985 [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>
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>
su622b0b810c82018-04-06 16:08:02 -040085 <dependency>
su622b58833d92018-04-04 16:19:55 -040086 <groupId>org.apache.tomcat</groupId>
87 <artifactId>tomcat-catalina</artifactId>
su622b0b810c82018-04-06 16:08:02 -040088 <version>8.0.49</version>
su622b58833d92018-04-04 16:19:55 -040089 </dependency>
90 <dependency>
91 <groupId>org.apache.tomcat</groupId>
92 <artifactId>tomcat-util</artifactId>
su622b0b810c82018-04-06 16:08:02 -040093 <version>8.0.49</version>
su622b58833d92018-04-04 16:19:55 -040094 </dependency>
95 <dependency>
96 <groupId>org.apache.tomcat.embed</groupId>
97 <artifactId>tomcat-embed-core</artifactId>
su622b0b810c82018-04-06 16:08:02 -040098 <version>8.0.49</version>
99 </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>
187 <version>2.4.4</version>
188 <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>
250 <artifactId>spring-core</artifactId>
251 <version>${spring.version}</version>
252 </dependency>
253 <dependency>
254 <groupId>org.springframework</groupId>
255 <artifactId>spring-context</artifactId>
256 <version>${spring.version}</version>
257 </dependency>
258 <dependency>
259 <groupId>org.springframework</groupId>
su622b13711622018-04-17 17:17:30 -0400260 <artifactId>spring-expression</artifactId>
261 <version>3.1.0.RC1</version>
Varun Gudisenaca63da62017-08-30 16:00:10 -0500262 </dependency>
263 <dependency>
264 <groupId>org.springframework</groupId>
su622b13711622018-04-17 17:17:30 -0400265 <artifactId>spring-webmvc</artifactId>
266 <version>4.3.15.RELEASE</version>
267 </dependency>
268 <dependency>
269 <groupId>org.springframework</groupId>
270 <artifactId>spring-core</artifactId>
271 <version>4.3.15.RELEASE</version>
Varun Gudisenaca63da62017-08-30 16:00:10 -0500272 </dependency>
273 <dependency>
274 <groupId>javax.servlet</groupId>
275 <artifactId>javax.servlet-api</artifactId>
276 <version>3.0.1</version>
277 <scope>provided</scope>
278 </dependency>
279 <!-- End - Spring Dependencies for DI -->
280 <!-- Begin - Dependency on Dmaap Spring layer -->
281 <!-- <dependency> <groupId>com.att.dmaap</groupId> <artifactId>dmaap-spring</artifactId>
282 <version>0.0.1-SNAPSHOT</version> </dependency> -->
283 <!-- End - Dependency on Dmaap Spring layer -->
284 <!-- Begin - Dependency on log4j for logging purpose -->
285 <!-- <dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId>
286 <version>1.2.17</version> </dependency> -->
287 <!-- Log4j's enhanced pattern layout is shipped separately <dependency>
288 <groupId>log4j</groupId> <artifactId>apache-log4j-extras</artifactId> <version>1.2.17</version>
289 </dependency> -->
290 <!-- End - Dependency on log4j for logging purpose -->
291 <!-- ZooKeeper Library -->
292 <dependency>
293 <groupId>org.apache.zookeeper</groupId>
294 <artifactId>zookeeper</artifactId>
su622b986192d2018-04-04 15:23:17 -0400295 <version>3.4.10</version>
Varun Gudisenaca63da62017-08-30 16:00:10 -0500296 </dependency>
297
298 <!-- JSON libraries -->
299 <dependency>
300 <groupId>org.json</groupId>
301 <artifactId>json</artifactId>
302 <version>20131018</version>
303 </dependency>
304
305 <!-- Apache Kafka -->
306 <dependency>
307 <groupId>org.apache.kafka</groupId>
308 <artifactId>kafka_2.10</artifactId>
309 <version>0.8.2.1</version>
310 </dependency>
311
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>
323 </dependency>
324 <dependency>
325 <groupId>com.att.nsa</groupId>
326 <artifactId>saToolkit</artifactId>
327 <version>0.0.1</version>
328 </dependency>
329
330 <!-- our Highland Park library -->
Sunil Unnavad46bf362018-03-12 09:30:41 -0400331 <!-- <dependency> <groupId>com.att.nsa</groupId> <artifactId>highlandParkCore</artifactId>
332 <version>0.4.9</version> </dependency> -->
Varun Gudisenaca63da62017-08-30 16:00:10 -0500333
334 <!-- our base client library, for its command line tools -->
335 <dependency>
336 <groupId>com.att.nsa</groupId>
337 <artifactId>saClientLibrary</artifactId>
338 <version>0.0.1</version>
339 <exclusions>
340 <exclusion>
341 <groupId>org.apache.httpcomponents</groupId>
342 <artifactId>httpclient</artifactId>
343 </exclusion>
344 <exclusion>
345 <groupId>org.apache.httpcomponents</groupId>
346 <artifactId>httpclient-cache</artifactId>
347 </exclusion>
348 </exclusions>
349 </dependency>
350 <dependency>
Sunil Unnavad46bf362018-03-12 09:30:41 -0400351 <groupId>org.apache.httpcomponents</groupId>
352 <artifactId>httpclient</artifactId>
353 <version>4.5.3</version>
354 </dependency>
355 <dependency>
356 <groupId>org.apache.httpcomponents</groupId>
357 <artifactId>httpclient-cache</artifactId>
358 <version>4.5.3</version>
359 </dependency>
360 <dependency>
361 <groupId>org.apache.httpcomponents</groupId>
362 <artifactId>httpcore</artifactId>
363 <version>4.4.1</version>
364 </dependency>
365
366
Varun Gudisenaca63da62017-08-30 16:00:10 -0500367 <!-- explicit jline add b/c it conflicts with the zk client -->
368 <dependency>
369 <groupId>jline</groupId>
370 <artifactId>jline</artifactId>
371 <version>2.12.1</version>
372 </dependency>
373
374 <dependency>
375 <groupId>org.apache.curator</groupId>
376 <artifactId>curator-recipes</artifactId>
377 <version>2.6.0</version>
378 </dependency>
379
380 <dependency>
381 <groupId>org.apache.curator</groupId>
382 <artifactId>curator-test</artifactId>
383 <version>2.6.0</version>
384 </dependency>
385
Varun Gudisenaca63da62017-08-30 16:00:10 -0500386
Sunil Unnavad46bf362018-03-12 09:30:41 -0400387 <dependency>
388 <groupId>com.google.code.gson</groupId>
389 <artifactId>gson</artifactId>
390 <version>2.8.0</version>
391 </dependency>
rn509jfd8f9852017-10-01 21:36:35 -0400392
393 <dependency>
394 <groupId>com.fasterxml.jackson.core</groupId>
395 <artifactId>jackson-core</artifactId>
Sunil Unnava04e44e42018-03-08 13:40:50 -0500396 <version>2.8.11</version>
rn509jfd8f9852017-10-01 21:36:35 -0400397 <scope>test</scope>
398 </dependency>
Sunil Unnavad46bf362018-03-12 09:30:41 -0400399
Sunil Unnavae4b46982018-03-01 13:38:34 -0500400 <dependency>
401 <groupId>com.fasterxml.jackson.core</groupId>
402 <artifactId>jackson-databind</artifactId>
Sunil Unnava04e44e42018-03-08 13:40:50 -0500403 <version>2.8.11.1</version>
Sunil Unnavae4b46982018-03-01 13:38:34 -0500404 </dependency>
rn509jfd8f9852017-10-01 21:36:35 -0400405
406 <dependency>
407 <groupId>org.powermock</groupId>
408 <artifactId>powermock-api-mockito</artifactId>
Sunil Unnavae4b46982018-03-01 13:38:34 -0500409 <version>1.6.4</version>
rn509jfd8f9852017-10-01 21:36:35 -0400410 <scope>test</scope>
411 </dependency>
412
413 <dependency>
414 <groupId>org.powermock</groupId>
415 <artifactId>powermock-module-junit4</artifactId>
Sunil Unnavae4b46982018-03-01 13:38:34 -0500416 <version>1.6.4</version>
rn509jfd8f9852017-10-01 21:36:35 -0400417 <scope>test</scope>
418 </dependency>
Sunil Unnavad46bf362018-03-12 09:30:41 -0400419
rn509jfd8f9852017-10-01 21:36:35 -0400420 <dependency>
Sunil Unnavad46bf362018-03-12 09:30:41 -0400421 <groupId>org.powermock</groupId>
422 <artifactId>powermock-module-junit4-rule</artifactId>
423 <version>1.6.4</version>
424 <scope>test</scope>
rn509jfd8f9852017-10-01 21:36:35 -0400425 </dependency>
Sunil Unnavae4b46982018-03-01 13:38:34 -0500426 <dependency>
427 <groupId>org.mockito</groupId>
428 <artifactId>mockito-core</artifactId>
429 <version>1.10.19</version>
430 <scope>test</scope>
431 </dependency>
Sunil Unnavad46bf362018-03-12 09:30:41 -0400432
Varun Gudisenaca63da62017-08-30 16:00:10 -0500433 </dependencies>
434 <build>
435 <finalName>DMaaP</finalName>
436 <resources>
437 <resource>
438 <directory>src/main/resources</directory>
439 <filtering>true</filtering>
440 <includes>
441 <include>**/*.properties</include>
442 </includes>
443 </resource>
444 <!-- <resource> <directory>src/main/config</directory> <filtering>true</filtering>
445 <includes> <include>**/log4j*.xml</include> </includes> </resource> <resource>
446 <directory>src/main/resources</directory> <filtering>false</filtering> <excludes>
447 <exclude>**/cambriaApiVersion.properties</exclude> </excludes> </resource> -->
448 </resources>
449 <plugins>
450 <!-- <plugin> <artifactId>maven-assembly-plugin</artifactId> <version>2.4.1</version>
451 <configuration> <descriptors> <descriptor>src/assembly/dep.xml</descriptor>
452 </descriptors> </configuration> <executions> <execution> <id>make-assembly</id>
453 this is used for inheritance merges -->
454 <!-- <phase>package</phase> bind to the packaging phase <goals> <goal>single</goal>
455 </goals> </execution> </executions> </plugin> -->
456 <!-- -->
Varun Gudisenaca63da62017-08-30 16:00:10 -0500457 <plugin>
458 <groupId>org.apache.maven.plugins</groupId>
Varun Gudisenad245aec2017-09-21 23:39:45 -0500459 <artifactId>maven-site-plugin</artifactId>
460 <version>3.6</version>
461 <dependencies>
462 <dependency>
463 <groupId>org.apache.maven.wagon</groupId>
464 <artifactId>wagon-webdav-jackrabbit</artifactId>
465 <version>2.10</version>
466 </dependency>
467 </dependencies>
468 </plugin>
469 <plugin>
470 <groupId>org.apache.maven.plugins</groupId>
Varun Gudisenaca63da62017-08-30 16:00:10 -0500471 <artifactId>maven-javadoc-plugin</artifactId>
472 <version>2.10.4</version>
473 <configuration>
474 <additionalparam>-Xdoclint:none</additionalparam>
475 </configuration>
476 <executions>
477 <execution>
478 <id>attach-javadocs</id>
479 <goals>
480 <goal>jar</goal>
481 </goals>
482 </execution>
483 </executions>
484 </plugin>
485 <plugin>
486 <groupId>org.apache.maven.plugins</groupId>
487 <artifactId>maven-source-plugin</artifactId>
488 <version>3.0.0</version>
489 <executions>
490 <execution>
491 <id>attach-sources</id>
492 <goals>
493 <goal>jar-no-fork</goal>
494 </goals>
495 </execution>
496 </executions>
Sunil Unnavad46bf362018-03-12 09:30:41 -0400497 </plugin>
Varun Gudisenaca63da62017-08-30 16:00:10 -0500498 <plugin>
499 <groupId>org.apache.maven.plugins</groupId>
500 <artifactId>maven-surefire-plugin</artifactId>
501 <version>2.12.4</version>
502 <configuration>
503 <excludes>
Sunil Unnavad46bf362018-03-12 09:30:41 -0400504 <!-- exclude until junits updated <exclude>**/DME2*.java</exclude> -->
Varun Gudisenaca63da62017-08-30 16:00:10 -0500505 </excludes>
506 <!-- <skipTests>true</skipTests> -->
507 </configuration>
508 </plugin>
Sunil Unnavad46bf362018-03-12 09:30:41 -0400509 <plugin>
510 <groupId>org.codehaus.mojo</groupId>
511 <artifactId>cobertura-maven-plugin</artifactId>
512 <version>2.7</version>
513 <configuration>
514 <formats>
515 <format>html</format>
516 <format>xml</format>
517 </formats>
518 </configuration>
519 </plugin>
520 <!-- <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId>
521 <version>${jacoco.version}</version> <configuration> Note: This exclusion
522 list should match <sonar.exclusions> property above <excludes> <exclude>**/gen/**</exclude>
523 <exclude>**/generated-sources/**</exclude> <exclude>**/yang-gen/**</exclude>
524 <exclude>**/pax/**</exclude> </excludes> </configuration> <executions> Prepares
525 the property pointing to the JaCoCo runtime agent which is passed as VM argument
526 when Maven the Surefire plugin is executed. <execution> <id>pre-unit-test</id>
527 <goals> <goal>prepare-agent</goal> </goals> <configuration> Sets the path
528 to the file which contains the execution data. <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
529 Sets the name of the property containing the settings for JaCoCo runtime
530 agent. <propertyName>surefireArgLine</propertyName> </configuration> </execution>
531 Ensures that the code coverage report for unit tests is created after unit
532 tests have been run. <execution> <id>post-unit-test</id> <phase>test</phase>
533 <goals> <goal>report</goal> </goals> <configuration> Sets the path to the
534 file which contains the execution data. <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
535 Sets the output directory for the code coverage report. <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
536 </configuration> </execution> <execution> <id>pre-integration-test</id> <phase>pre-integration-test</phase>
537 <goals> <goal>prepare-agent</goal> </goals> <configuration> Sets the path
538 to the file which contains the execution data. <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
539 Sets the name of the property containing the settings for JaCoCo runtime
540 agent. <propertyName>failsafeArgLine</propertyName> </configuration> </execution>
541 Ensures that the code coverage report for integration tests after integration
542 tests have been run. <execution> <id>post-integration-test</id> <phase>post-integration-test</phase>
543 <goals> <goal>report</goal> </goals> <configuration> Sets the path to the
544 file which contains the execution data. <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
545 Sets the output directory for the code coverage report. <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
546 </configuration> </execution> </executions> </plugin> -->
547 </plugins>
Varun Gudisenaca63da62017-08-30 16:00:10 -0500548 </build>
549
550 <!-- <profiles> <profile> <id>jenkins</id> <activation> <property> <name>env.BUILD_NUMBER</name>
551 </property> </activation> <build> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId>
552 <artifactId>cobertura-maven-plugin</artifactId> </plugin> <plugin> <groupId>com.att.aft.swm</groupId>
553 <artifactId>swm-plugin</artifactId> <version>1.4.4.12</version> <configuration>
554 <distFilesRootDirPath>/opt/app/dmaap/msgrtr/jenkinsbuild</distFilesRootDirPath>
555 <version>${project.version}-${env.BUILD_NUMBER}</version> <scriptExcludes>
556 <scriptExclude>**/swmpkgclean.sh</scriptExclude> </scriptExcludes> </configuration>
557 <executions> <execution> <id>pkgstage</id> <goals> <goal>pkgstage</goal>
558 </goals> </execution> <execution> <id>pkgcreate</id> <goals> <goal>pkgcreate</goal>
559 </goals> </execution> <execution> <id>pkginstall</id> <goals> <goal>install</goal>
560 </goals> <configuration> <componentName>com.att.nsa:msgrtr</componentName>
561 <version>${project.version}-${env.BUILD_NUMBER}</version> <waitTimeMins>4</waitTimeMins>
562 <properties> <property> <name>overrideDependencyConflicts</name> <value>true</value>
563 </property> <property> <name>AFTSWM_NOTIFY_ADDRESSES</name> <value>mailto:rs857c@att.com</value>
564 </property> </properties> </configuration> </execution> </executions> </plugin>
565 <plugin> <artifactId>maven-antrun-plugin</artifactId> <executions> <execution>
566 <phase>package</phase> <configuration> <tasks> <copy file="./src/main/scripts/swmpkgclean.sh"
567 toDir="./target" /> </tasks> </configuration> <goals> <goal>run</goal> </goals>
568 </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId>
569 <artifactId>maven-deploy-plugin</artifactId> <version>2.5</version> <configuration>
570 <skip>true</skip> </configuration> </plugin> </plugins> </build> </profile>
571 </profiles> -->
Jessica Wagantall1b618902017-09-08 13:14:43 -0700572</project>