1 <!-- ============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. -->
12 <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>
17 <version>1.1.15-SNAPSHOT</version>
18 <packaging>jar</packaging>
19 <name>dmaap-messagerouter-msgrtr</name>
20 <description>Message Router - Restful interface built for kafka</description>
23 <groupId>org.onap.oparent</groupId>
24 <artifactId>oparent</artifactId>
25 <version>1.2.1</version>
29 <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
30 <spring.version>3.2.18.RELEASE</spring.version>
31 <cxf.version>3.0.4</cxf.version>
32 <jstl.version>1.2</jstl.version>
33 <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>
36 <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
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
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>
49 <nexusproxy>https://nexus.onap.org</nexusproxy>
52 <!-- Distribution management -->
53 <!-- Currently all artifacts will be uploaded to att-public-group reposiotry
55 <distributionManagement>
58 <url>dav:${nexusproxy}${sitePath}</url>
60 </distributionManagement>
62 <!-- End Distribution management -->
66 <name>Apache License Version 2.0</name>
72 <name>Rajashree</name>
74 <organization>ATT</organization>
75 <organizationUrl>www.att.com</organizationUrl>
80 <organization>ATT</organization>
81 <organizationUrl>www.att.com</organizationUrl>
87 <groupId>org.apache.tomcat</groupId>
88 <artifactId>tomcat-catalina</artifactId>
89 <version>8.5.23</version>
92 <groupId>org.apache.tomcat</groupId>
93 <artifactId>tomcat-util</artifactId>
94 <version>8.5.23</version>
97 <groupId>org.apache.tomcat.embed</groupId>
98 <artifactId>tomcat-embed-core</artifactId>
99 <version>8.5.23</version>
102 <groupId>commons-collections</groupId>
103 <artifactId>commons-collections</artifactId>
104 <version>3.2.2</version>
107 <groupId>ch.qos.logback</groupId>
108 <artifactId>logback-core</artifactId>
109 <version>1.2.0</version>
112 <groupId>ch.qos.logback</groupId>
113 <artifactId>logback-classic</artifactId>
114 <version>1.2.0</version>
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> -->
121 <groupId>org.grails</groupId>
122 <artifactId>grails-web</artifactId>
123 <version>2.5.4</version>
126 <groupId>org.grails</groupId>
127 <artifactId>grails-web-jsp</artifactId>
132 <groupId>org.grails</groupId>
133 <artifactId>grails-bootstrap</artifactId>
134 <version>2.5.4</version>
135 <scope>compile</scope>
138 <artifactId>ant</artifactId>
139 <groupId>org.apache.ant</groupId>
142 <artifactId>jna</artifactId>
143 <groupId>net.java.dev.jna</groupId>
146 <artifactId>ant-trax</artifactId>
147 <groupId>org.apache.ant</groupId>
150 <artifactId>gant_groovy1.8</artifactId>
151 <groupId>org.codehaus.gant</groupId>
154 <artifactId>ant-launcher</artifactId>
155 <groupId>org.apache.ant</groupId>
158 <artifactId>jline</artifactId>
159 <groupId>jline</groupId>
162 <artifactId>ivy</artifactId>
163 <groupId>org.apache.ivy</groupId>
166 <artifactId>jansi</artifactId>
167 <groupId>org.fusesource.jansi</groupId>
170 <artifactId>commons-logging</artifactId>
171 <groupId>commons-logging</groupId>
174 <artifactId>ant-junit</artifactId>
175 <groupId>org.apache.ant</groupId>
180 <groupId>org.springframework</groupId>
181 <artifactId>spring-test</artifactId>
182 <version>${spring.version}</version>
186 <groupId>org.codehaus.groovy</groupId>
187 <artifactId>groovy-all</artifactId>
188 <version>2.4.8</version>
189 <scope>compile</scope>
192 <artifactId>jline</artifactId>
193 <groupId>jline</groupId>
198 <groupId>commons-fileupload</groupId>
199 <artifactId>commons-fileupload</artifactId>
200 <version>1.3.3</version>
204 <groupId>junit</groupId>
205 <artifactId>junit</artifactId>
206 <version>4.11</version>
210 <groupId>com.att.aft</groupId>
211 <artifactId>dme2</artifactId>
212 <version>3.1.200-oss</version>
215 <groupId>javax.jms</groupId>
216 <artifactId>jms</artifactId>
221 <!-- slf4j logger -->
223 <groupId>org.slf4j</groupId>
224 <artifactId>slf4j-api</artifactId>
225 <version>1.7.6</version>
229 <groupId>javax.inject</groupId>
230 <artifactId>javax.inject</artifactId>
235 <groupId>com.att.ajsc</groupId>
236 <artifactId>ajsc-core</artifactId>
237 <version>1.0.0</version>
241 <groupId>javax.ws.rs</groupId>
242 <artifactId>javax.ws.rs-api</artifactId>
243 <version>2.0.1</version>
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>
254 <!-- Begin - Spring Dependencies for DI -->
256 <groupId>org.springframework</groupId>
257 <artifactId>spring-context</artifactId>
258 <version>${spring.version}</version>
261 <groupId>org.springframework</groupId>
262 <artifactId>spring-expression</artifactId>
263 <version>4.3.18.RELEASE</version>
266 <groupId>org.springframework</groupId>
267 <artifactId>spring-webmvc</artifactId>
268 <version>4.3.18.RELEASE</version>
271 <groupId>org.springframework</groupId>
272 <artifactId>spring-core</artifactId>
273 <version>4.3.18.RELEASE</version>
276 <groupId>javax.servlet</groupId>
277 <artifactId>javax.servlet-api</artifactId>
278 <version>3.0.1</version>
279 <scope>provided</scope>
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>
292 <!-- End - Dependency on log4j for logging purpose -->
293 <!-- ZooKeeper Library -->
295 <groupId>org.apache.zookeeper</groupId>
296 <artifactId>zookeeper</artifactId>
297 <version>3.4.10</version>
300 <!-- JSON libraries -->
302 <groupId>org.json</groupId>
303 <artifactId>json</artifactId>
304 <version>20131018</version>
307 <!-- Apache Kafka -->
309 <groupId>org.apache.kafka</groupId>
310 <artifactId>kafka_2.11</artifactId>
311 <version>0.11.0.3</version>
314 <groupId>com.google.guava</groupId>
315 <artifactId>guava</artifactId>
316 <version>23.6.1-jre</version>
320 <groupId>com.att.eelf</groupId>
321 <artifactId>eelf-core</artifactId>
322 <version>0.0.1</version>
323 <scope>compile</scope>
325 <!-- our NSA server library -->
327 <groupId>com.att.nsa</groupId>
328 <artifactId>nsaServerLibrary</artifactId>
329 <version>1.0.10</version>
332 <groupId>org.apache.tomcat</groupId>
333 <artifactId>tomcat-catalina</artifactId>
336 <groupId>org.apache.tomcat.embed</groupId>
337 <artifactId>tomcat-embed-core</artifactId>
340 <groupId>org.apache.tomcat</groupId>
341 <artifactId>tomcat-util</artifactId>
344 <groupId>javax.mail</groupId>
345 <artifactId>mail</artifactId>
350 <groupId>com.att.nsa</groupId>
351 <artifactId>saToolkit</artifactId>
352 <version>0.0.1</version>
355 <groupId>javax.mail</groupId>
356 <artifactId>mail</artifactId>
357 <version>1.4.4</version>
360 <!-- our Highland Park library -->
361 <!-- <dependency> <groupId>com.att.nsa</groupId> <artifactId>highlandParkCore</artifactId>
362 <version>0.4.9</version> </dependency> -->
364 <!-- our base client library, for its command line tools -->
366 <groupId>com.att.nsa</groupId>
367 <artifactId>saClientLibrary</artifactId>
368 <version>0.0.1</version>
371 <groupId>org.apache.httpcomponents</groupId>
372 <artifactId>httpclient</artifactId>
375 <groupId>org.apache.httpcomponents</groupId>
376 <artifactId>httpclient-cache</artifactId>
381 <groupId>org.apache.httpcomponents</groupId>
382 <artifactId>httpclient</artifactId>
383 <version>4.5.3</version>
386 <groupId>org.apache.httpcomponents</groupId>
387 <artifactId>httpclient-cache</artifactId>
388 <version>4.5.3</version>
391 <groupId>org.apache.httpcomponents</groupId>
392 <artifactId>httpcore</artifactId>
393 <version>4.4.1</version>
397 <!-- explicit jline add b/c it conflicts with the zk client -->
399 <groupId>jline</groupId>
400 <artifactId>jline</artifactId>
401 <version>2.12.1</version>
405 <groupId>org.apache.curator</groupId>
406 <artifactId>curator-recipes</artifactId>
407 <version>4.0.1</version>
411 <groupId>org.apache.curator</groupId>
412 <artifactId>curator-test</artifactId>
413 <version>4.0.1</version>
418 <groupId>com.google.code.gson</groupId>
419 <artifactId>gson</artifactId>
420 <version>2.8.0</version>
424 <groupId>com.fasterxml.jackson.core</groupId>
425 <artifactId>jackson-core</artifactId>
426 <version>2.8.11</version>
431 <groupId>com.fasterxml.jackson.core</groupId>
432 <artifactId>jackson-databind</artifactId>
433 <version>2.8.11.1</version>
437 <groupId>org.powermock</groupId>
438 <artifactId>powermock-api-mockito</artifactId>
439 <version>1.6.4</version>
444 <groupId>org.powermock</groupId>
445 <artifactId>powermock-module-junit4</artifactId>
446 <version>1.6.4</version>
451 <groupId>org.powermock</groupId>
452 <artifactId>powermock-module-junit4-rule</artifactId>
453 <version>1.6.4</version>
457 <groupId>org.mockito</groupId>
458 <artifactId>mockito-core</artifactId>
459 <version>1.10.19</version>
465 <finalName>DMaaP</finalName>
468 <directory>src/main/resources</directory>
469 <filtering>true</filtering>
471 <include>**/*.properties</include>
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> -->
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> -->
488 <groupId>org.apache.maven.plugins</groupId>
489 <artifactId>maven-site-plugin</artifactId>
490 <version>3.6</version>
493 <groupId>org.apache.maven.wagon</groupId>
494 <artifactId>wagon-webdav-jackrabbit</artifactId>
495 <version>2.10</version>
500 <groupId>org.apache.maven.plugins</groupId>
501 <artifactId>maven-javadoc-plugin</artifactId>
502 <version>2.10.4</version>
504 <additionalparam>-Xdoclint:none</additionalparam>
508 <id>attach-javadocs</id>
516 <groupId>org.apache.maven.plugins</groupId>
517 <artifactId>maven-source-plugin</artifactId>
518 <version>3.0.0</version>
521 <id>attach-sources</id>
523 <goal>jar-no-fork</goal>
529 <groupId>org.apache.maven.plugins</groupId>
530 <artifactId>maven-surefire-plugin</artifactId>
531 <version>2.12.4</version>
534 <!-- exclude until junits updated <exclude>**/DME2*.java</exclude> -->
536 <!-- <skipTests>true</skipTests> -->
540 <groupId>org.codehaus.mojo</groupId>
541 <artifactId>cobertura-maven-plugin</artifactId>
542 <version>2.7</version>
545 <format>html</format>
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> -->
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>