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.22-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>2.1.0</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>
38 <sonar.language>java</sonar.language>
39 <sonar.skip>false</sonar.skip>
40 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
41 <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
42 <sonar.projectVersion>${project.version}</sonar.projectVersion>
43 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
44 <sitePath>/content/sites/site/org/onap/dmaap/messagerouter/msgrtr/${project.artifactId}/${project.version}</sitePath>
45 <nexusproxy>https://nexus.onap.org</nexusproxy>
48 <!-- Distribution management -->
49 <!-- Currently all artifacts will be uploaded to att-public-group reposiotry
51 <distributionManagement>
54 <url>dav:${nexusproxy}${sitePath}</url>
56 </distributionManagement>
58 <!-- End Distribution management -->
62 <name>Apache License Version 2.0</name>
68 <name>Rajashree</name>
70 <organization>ATT</organization>
71 <organizationUrl>www.att.com</organizationUrl>
76 <organization>ATT</organization>
77 <organizationUrl>www.att.com</organizationUrl>
83 <groupId>commons-collections</groupId>
84 <artifactId>commons-collections</artifactId>
85 <version>3.2.2</version>
88 <groupId>ch.qos.logback</groupId>
89 <artifactId>logback-core</artifactId>
90 <version>1.2.0</version>
93 <groupId>ch.qos.logback</groupId>
94 <artifactId>logback-classic</artifactId>
95 <version>1.2.0</version>
97 <!-- <dependency> <groupId>commons-beanutils</groupId> <artifactId>commons-beanutils</artifactId>
98 <version>1.9.2</version> <exclusions> We have JCL-over-SLF4J instead. <exclusion>
99 <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId>
100 </exclusion> </exclusions> </dependency> -->
102 <groupId>org.grails</groupId>
103 <artifactId>grails-web</artifactId>
104 <version>2.5.4</version>
107 <groupId>org.grails</groupId>
108 <artifactId>grails-web-jsp</artifactId>
113 <groupId>org.grails</groupId>
114 <artifactId>grails-bootstrap</artifactId>
115 <version>2.5.4</version>
116 <scope>compile</scope>
119 <artifactId>ant</artifactId>
120 <groupId>org.apache.ant</groupId>
123 <artifactId>jna</artifactId>
124 <groupId>net.java.dev.jna</groupId>
127 <artifactId>ant-trax</artifactId>
128 <groupId>org.apache.ant</groupId>
131 <artifactId>gant_groovy1.8</artifactId>
132 <groupId>org.codehaus.gant</groupId>
135 <artifactId>ant-launcher</artifactId>
136 <groupId>org.apache.ant</groupId>
139 <artifactId>jline</artifactId>
140 <groupId>jline</groupId>
143 <artifactId>ivy</artifactId>
144 <groupId>org.apache.ivy</groupId>
147 <artifactId>jansi</artifactId>
148 <groupId>org.fusesource.jansi</groupId>
151 <artifactId>commons-logging</artifactId>
152 <groupId>commons-logging</groupId>
155 <artifactId>ant-junit</artifactId>
156 <groupId>org.apache.ant</groupId>
161 <groupId>org.springframework</groupId>
162 <artifactId>spring-test</artifactId>
163 <version>${spring.version}</version>
167 <groupId>org.codehaus.groovy</groupId>
168 <artifactId>groovy-all</artifactId>
169 <version>2.4.8</version>
170 <scope>compile</scope>
173 <artifactId>jline</artifactId>
174 <groupId>jline</groupId>
179 <groupId>commons-fileupload</groupId>
180 <artifactId>commons-fileupload</artifactId>
181 <version>1.4</version>
185 <groupId>junit</groupId>
186 <artifactId>junit</artifactId>
187 <version>4.11</version>
191 <groupId>com.att.aft</groupId>
192 <artifactId>dme2</artifactId>
193 <version>3.1.200-oss</version>
196 <groupId>javax.jms</groupId>
197 <artifactId>jms</artifactId>
202 <!-- slf4j logger -->
204 <groupId>org.slf4j</groupId>
205 <artifactId>slf4j-api</artifactId>
206 <version>1.7.6</version>
210 <groupId>javax.inject</groupId>
211 <artifactId>javax.inject</artifactId>
216 <groupId>com.att.ajsc</groupId>
217 <artifactId>ajsc-core</artifactId>
218 <version>1.0.0</version>
222 <groupId>javax.ws.rs</groupId>
223 <artifactId>javax.ws.rs-api</artifactId>
224 <version>2.0.1</version>
227 <!-- <dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-rt-rs-client</artifactId>
228 <version>${cxf.version}</version> </dependency> <dependency> <groupId>org.apache.cxf</groupId>
229 <artifactId>cxf-rt-frontend-jaxws</artifactId> <version>${cxf.version}</version>
230 </dependency> <dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-rt-transports-http</artifactId>
231 <version>${cxf.version}</version> </dependency> Jetty is needed if you're
232 are not using the CXFServlet <dependency> <groupId>org.apache.cxf</groupId>
233 <artifactId>cxf-rt-transports-http-jetty</artifactId> <version>${cxf.version}</version>
235 <!-- Begin - Spring Dependencies for DI -->
237 <groupId>org.springframework</groupId>
238 <artifactId>spring-context</artifactId>
239 <version>${spring.version}</version>
242 <groupId>org.springframework</groupId>
243 <artifactId>spring-expression</artifactId>
244 <version>4.3.18.RELEASE</version>
247 <groupId>org.springframework</groupId>
248 <artifactId>spring-webmvc</artifactId>
249 <version>5.2.3.RELEASE</version>
252 <groupId>org.springframework</groupId>
253 <artifactId>spring-core</artifactId>
254 <version>4.3.18.RELEASE</version>
257 <groupId>javax.servlet</groupId>
258 <artifactId>javax.servlet-api</artifactId>
259 <version>3.0.1</version>
260 <scope>provided</scope>
262 <!-- End - Spring Dependencies for DI -->
263 <!-- Begin - Dependency on Dmaap Spring layer -->
264 <!-- <dependency> <groupId>com.att.dmaap</groupId> <artifactId>dmaap-spring</artifactId>
265 <version>0.0.1-SNAPSHOT</version> </dependency> -->
266 <!-- End - Dependency on Dmaap Spring layer -->
267 <!-- Begin - Dependency on log4j for logging purpose -->
268 <!-- <dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId>
269 <version>1.2.17</version> </dependency> -->
270 <!-- Log4j's enhanced pattern layout is shipped separately <dependency>
271 <groupId>log4j</groupId> <artifactId>apache-log4j-extras</artifactId> <version>1.2.17</version>
273 <!-- End - Dependency on log4j for logging purpose -->
274 <!-- ZooKeeper Library -->
276 <groupId>org.apache.zookeeper</groupId>
277 <artifactId>zookeeper</artifactId>
278 <version>3.4.14</version>
281 <!-- JSON libraries -->
283 <groupId>org.json</groupId>
284 <artifactId>json</artifactId>
285 <version>20131018</version>
288 <!-- Apache Kafka -->
290 <groupId>org.apache.kafka</groupId>
291 <artifactId>kafka_2.11</artifactId>
292 <version>0.11.0.3</version>
295 <groupId>commons-codec</groupId>
296 <artifactId>commons-codec</artifactId>
297 <version>1.13</version>
300 <groupId>com.google.guava</groupId>
301 <artifactId>guava</artifactId>
302 <version>23.6.1-jre</version>
306 <groupId>com.att.eelf</groupId>
307 <artifactId>eelf-core</artifactId>
308 <version>0.0.1</version>
309 <scope>compile</scope>
311 <!-- our NSA server library -->
313 <groupId>com.att.nsa</groupId>
314 <artifactId>nsaServerLibrary</artifactId>
315 <version>1.0.10</version>
318 <groupId>org.apache.tomcat</groupId>
319 <artifactId>tomcat-catalina</artifactId>
322 <groupId>org.apache.tomcat.embed</groupId>
323 <artifactId>tomcat-embed-core</artifactId>
326 <groupId>org.apache.tomcat</groupId>
327 <artifactId>tomcat-util</artifactId>
330 <groupId>javax.mail</groupId>
331 <artifactId>mail</artifactId>
336 <groupId>com.att.nsa</groupId>
337 <artifactId>saToolkit</artifactId>
338 <version>0.0.1</version>
341 <groupId>com.sun.mail</groupId>
342 <artifactId>javax.mail</artifactId>
343 <version>1.6.0</version>
345 <!-- javax activation is part of the JDK now -->
347 <groupId>javax.activation</groupId>
348 <artifactId>activation</artifactId>
353 <!-- our Highland Park library -->
354 <!-- <dependency> <groupId>com.att.nsa</groupId> <artifactId>highlandParkCore</artifactId>
355 <version>0.4.9</version> </dependency> -->
357 <!-- our base client library, for its command line tools -->
359 <groupId>com.att.nsa</groupId>
360 <artifactId>saClientLibrary</artifactId>
361 <version>0.0.1</version>
364 <groupId>org.apache.httpcomponents</groupId>
365 <artifactId>httpclient</artifactId>
368 <groupId>org.apache.httpcomponents</groupId>
369 <artifactId>httpclient-cache</artifactId>
374 <groupId>org.apache.httpcomponents</groupId>
375 <artifactId>httpclient</artifactId>
376 <version>4.5.3</version>
379 <groupId>org.apache.httpcomponents</groupId>
380 <artifactId>httpclient-cache</artifactId>
381 <version>4.5.3</version>
384 <groupId>org.apache.httpcomponents</groupId>
385 <artifactId>httpcore</artifactId>
386 <version>4.4.1</version>
390 <!-- explicit jline add b/c it conflicts with the zk client -->
392 <groupId>jline</groupId>
393 <artifactId>jline</artifactId>
394 <version>2.12.1</version>
398 <groupId>org.apache.curator</groupId>
399 <artifactId>curator-recipes</artifactId>
400 <version>4.0.1</version>
404 <groupId>org.apache.curator</groupId>
405 <artifactId>curator-test</artifactId>
406 <version>4.0.1</version>
411 <groupId>com.google.code.gson</groupId>
412 <artifactId>gson</artifactId>
413 <version>2.8.0</version>
417 <groupId>com.fasterxml.jackson.core</groupId>
418 <artifactId>jackson-core</artifactId>
419 <version>2.8.11</version>
424 <groupId>com.fasterxml.jackson.core</groupId>
425 <artifactId>jackson-databind</artifactId>
426 <version>2.8.11.1</version>
430 <groupId>org.powermock</groupId>
431 <artifactId>powermock-api-mockito</artifactId>
432 <version>1.6.4</version>
437 <groupId>org.powermock</groupId>
438 <artifactId>powermock-module-junit4</artifactId>
439 <version>1.6.4</version>
444 <groupId>org.powermock</groupId>
445 <artifactId>powermock-module-junit4-rule</artifactId>
446 <version>1.6.4</version>
450 <groupId>org.mockito</groupId>
451 <artifactId>mockito-core</artifactId>
452 <version>1.10.19</version>
458 <finalName>DMaaP</finalName>
461 <directory>src/main/resources</directory>
462 <filtering>true</filtering>
464 <include>**/*.properties</include>
467 <!-- <resource> <directory>src/main/config</directory> <filtering>true</filtering>
468 <includes> <include>**/log4j*.xml</include> </includes> </resource> <resource>
469 <directory>src/main/resources</directory> <filtering>false</filtering> <excludes>
470 <exclude>**/cambriaApiVersion.properties</exclude> </excludes> </resource> -->
473 <!-- <plugin> <artifactId>maven-assembly-plugin</artifactId> <version>2.4.1</version>
474 <configuration> <descriptors> <descriptor>src/assembly/dep.xml</descriptor>
475 </descriptors> </configuration> <executions> <execution> <id>make-assembly</id>
476 this is used for inheritance merges -->
477 <!-- <phase>package</phase> bind to the packaging phase <goals> <goal>single</goal>
478 </goals> </execution> </executions> </plugin> -->
481 <artifactId>maven-checkstyle-plugin</artifactId>
482 <version>2.17</version>
485 <groupId>org.onap.oparent</groupId>
486 <artifactId>checkstyle</artifactId>
487 <version>2.0.0</version>
492 <id>onap-license</id>
496 <phase>process-sources</phase>
498 <configLocation>onap-checkstyle/check-license.xml</configLocation>
499 <includeResources>false</includeResources>
500 <includeTestSourceDirectory>true</includeTestSourceDirectory>
501 <includeTestResources>false</includeTestResources>
502 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
505 <consoleOutput>true</consoleOutput>
506 <failsOnViolation>false</failsOnViolation>
510 <id>onap-java-style</id>
516 <!-- Use Google Java Style Guide:
517 https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
518 with minor changes -->
519 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
520 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated sources directory -->
521 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
522 <includeResources>true</includeResources>
523 <includeTestSourceDirectory>true</includeTestSourceDirectory>
524 <includeTestResources>true</includeTestResources>
527 <consoleOutput>true</consoleOutput>
528 <failsOnViolation>false</failsOnViolation>
534 <groupId>org.apache.maven.plugins</groupId>
535 <artifactId>maven-site-plugin</artifactId>
536 <version>3.6</version>
539 <groupId>org.apache.maven.wagon</groupId>
540 <artifactId>wagon-webdav-jackrabbit</artifactId>
541 <version>2.10</version>
546 <groupId>org.apache.maven.plugins</groupId>
547 <artifactId>maven-javadoc-plugin</artifactId>
548 <version>2.10.4</version>
550 <additionalparam>-Xdoclint:none</additionalparam>
554 <id>attach-javadocs</id>
562 <groupId>org.apache.maven.plugins</groupId>
563 <artifactId>maven-source-plugin</artifactId>
564 <version>3.0.0</version>
567 <id>attach-sources</id>
569 <goal>jar-no-fork</goal>
575 <groupId>org.apache.maven.plugins</groupId>
576 <artifactId>maven-surefire-plugin</artifactId>
577 <version>2.12.4</version>
580 <!-- exclude until junits updated <exclude>**/DME2*.java</exclude> -->
582 <!-- <skipTests>true</skipTests> -->
586 <groupId>org.jacoco</groupId>
587 <artifactId>jacoco-maven-plugin</artifactId>
590 <id>prepare-agent</id>
592 <goal>prepare-agent</goal>
601 <dataFile>${project.build.directory}/code-coverage/jacoco.exec</dataFile>
602 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
610 <!-- <profiles> <profile> <id>jenkins</id> <activation> <property> <name>env.BUILD_NUMBER</name>
611 </property> </activation> <build> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId>
612 <artifactId>cobertura-maven-plugin</artifactId> </plugin> <plugin> <groupId>com.att.aft.swm</groupId>
613 <artifactId>swm-plugin</artifactId> <version>1.4.4.12</version> <configuration>
614 <distFilesRootDirPath>/opt/app/dmaap/msgrtr/jenkinsbuild</distFilesRootDirPath>
615 <version>${project.version}-${env.BUILD_NUMBER}</version> <scriptExcludes>
616 <scriptExclude>**/swmpkgclean.sh</scriptExclude> </scriptExcludes> </configuration>
617 <executions> <execution> <id>pkgstage</id> <goals> <goal>pkgstage</goal>
618 </goals> </execution> <execution> <id>pkgcreate</id> <goals> <goal>pkgcreate</goal>
619 </goals> </execution> <execution> <id>pkginstall</id> <goals> <goal>install</goal>
620 </goals> <configuration> <componentName>com.att.nsa:msgrtr</componentName>
621 <version>${project.version}-${env.BUILD_NUMBER}</version> <waitTimeMins>4</waitTimeMins>
622 <properties> <property> <name>overrideDependencyConflicts</name> <value>true</value>
623 </property> <property> <name>AFTSWM_NOTIFY_ADDRESSES</name> <value>mailto:rs857c@att.com</value>
624 </property> </properties> </configuration> </execution> </executions> </plugin>
625 <plugin> <artifactId>maven-antrun-plugin</artifactId> <executions> <execution>
626 <phase>package</phase> <configuration> <tasks> <copy file="./src/main/scripts/swmpkgclean.sh"
627 toDir="./target" /> </tasks> </configuration> <goals> <goal>run</goal> </goals>
628 </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId>
629 <artifactId>maven-deploy-plugin</artifactId> <version>2.5</version> <configuration>
630 <skip>true</skip> </configuration> </plugin> </plugins> </build> </profile>