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>org.apache.tomcat</groupId>
84 <artifactId>tomcat-catalina</artifactId>
85 <version>8.5.23</version>
88 <groupId>org.apache.tomcat</groupId>
89 <artifactId>tomcat-util</artifactId>
90 <version>8.5.23</version>
93 <groupId>org.apache.tomcat.embed</groupId>
94 <artifactId>tomcat-embed-core</artifactId>
95 <version>8.5.23</version>
98 <groupId>commons-collections</groupId>
99 <artifactId>commons-collections</artifactId>
100 <version>3.2.2</version>
103 <groupId>ch.qos.logback</groupId>
104 <artifactId>logback-core</artifactId>
105 <version>1.2.0</version>
108 <groupId>ch.qos.logback</groupId>
109 <artifactId>logback-classic</artifactId>
110 <version>1.2.0</version>
112 <!-- <dependency> <groupId>commons-beanutils</groupId> <artifactId>commons-beanutils</artifactId>
113 <version>1.9.2</version> <exclusions> We have JCL-over-SLF4J instead. <exclusion>
114 <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId>
115 </exclusion> </exclusions> </dependency> -->
117 <groupId>org.grails</groupId>
118 <artifactId>grails-web</artifactId>
119 <version>2.5.4</version>
122 <groupId>org.grails</groupId>
123 <artifactId>grails-web-jsp</artifactId>
128 <groupId>org.grails</groupId>
129 <artifactId>grails-bootstrap</artifactId>
130 <version>2.5.4</version>
131 <scope>compile</scope>
134 <artifactId>ant</artifactId>
135 <groupId>org.apache.ant</groupId>
138 <artifactId>jna</artifactId>
139 <groupId>net.java.dev.jna</groupId>
142 <artifactId>ant-trax</artifactId>
143 <groupId>org.apache.ant</groupId>
146 <artifactId>gant_groovy1.8</artifactId>
147 <groupId>org.codehaus.gant</groupId>
150 <artifactId>ant-launcher</artifactId>
151 <groupId>org.apache.ant</groupId>
154 <artifactId>jline</artifactId>
155 <groupId>jline</groupId>
158 <artifactId>ivy</artifactId>
159 <groupId>org.apache.ivy</groupId>
162 <artifactId>jansi</artifactId>
163 <groupId>org.fusesource.jansi</groupId>
166 <artifactId>commons-logging</artifactId>
167 <groupId>commons-logging</groupId>
170 <artifactId>ant-junit</artifactId>
171 <groupId>org.apache.ant</groupId>
176 <groupId>org.springframework</groupId>
177 <artifactId>spring-test</artifactId>
178 <version>${spring.version}</version>
182 <groupId>org.codehaus.groovy</groupId>
183 <artifactId>groovy-all</artifactId>
184 <version>2.4.8</version>
185 <scope>compile</scope>
188 <artifactId>jline</artifactId>
189 <groupId>jline</groupId>
194 <groupId>commons-fileupload</groupId>
195 <artifactId>commons-fileupload</artifactId>
196 <version>1.4</version>
200 <groupId>junit</groupId>
201 <artifactId>junit</artifactId>
202 <version>4.11</version>
206 <groupId>com.att.aft</groupId>
207 <artifactId>dme2</artifactId>
208 <version>3.1.200-oss</version>
211 <groupId>javax.jms</groupId>
212 <artifactId>jms</artifactId>
217 <!-- slf4j logger -->
219 <groupId>org.slf4j</groupId>
220 <artifactId>slf4j-api</artifactId>
221 <version>1.7.6</version>
225 <groupId>javax.inject</groupId>
226 <artifactId>javax.inject</artifactId>
231 <groupId>com.att.ajsc</groupId>
232 <artifactId>ajsc-core</artifactId>
233 <version>1.0.0</version>
237 <groupId>javax.ws.rs</groupId>
238 <artifactId>javax.ws.rs-api</artifactId>
239 <version>2.0.1</version>
242 <!-- <dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-rt-rs-client</artifactId>
243 <version>${cxf.version}</version> </dependency> <dependency> <groupId>org.apache.cxf</groupId>
244 <artifactId>cxf-rt-frontend-jaxws</artifactId> <version>${cxf.version}</version>
245 </dependency> <dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-rt-transports-http</artifactId>
246 <version>${cxf.version}</version> </dependency> Jetty is needed if you're
247 are not using the CXFServlet <dependency> <groupId>org.apache.cxf</groupId>
248 <artifactId>cxf-rt-transports-http-jetty</artifactId> <version>${cxf.version}</version>
250 <!-- Begin - Spring Dependencies for DI -->
252 <groupId>org.springframework</groupId>
253 <artifactId>spring-context</artifactId>
254 <version>${spring.version}</version>
257 <groupId>org.springframework</groupId>
258 <artifactId>spring-expression</artifactId>
259 <version>4.3.18.RELEASE</version>
262 <groupId>org.springframework</groupId>
263 <artifactId>spring-webmvc</artifactId>
264 <version>4.3.18.RELEASE</version>
267 <groupId>org.springframework</groupId>
268 <artifactId>spring-core</artifactId>
269 <version>4.3.18.RELEASE</version>
272 <groupId>javax.servlet</groupId>
273 <artifactId>javax.servlet-api</artifactId>
274 <version>3.0.1</version>
275 <scope>provided</scope>
277 <!-- End - Spring Dependencies for DI -->
278 <!-- Begin - Dependency on Dmaap Spring layer -->
279 <!-- <dependency> <groupId>com.att.dmaap</groupId> <artifactId>dmaap-spring</artifactId>
280 <version>0.0.1-SNAPSHOT</version> </dependency> -->
281 <!-- End - Dependency on Dmaap Spring layer -->
282 <!-- Begin - Dependency on log4j for logging purpose -->
283 <!-- <dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId>
284 <version>1.2.17</version> </dependency> -->
285 <!-- Log4j's enhanced pattern layout is shipped separately <dependency>
286 <groupId>log4j</groupId> <artifactId>apache-log4j-extras</artifactId> <version>1.2.17</version>
288 <!-- End - Dependency on log4j for logging purpose -->
289 <!-- ZooKeeper Library -->
291 <groupId>org.apache.zookeeper</groupId>
292 <artifactId>zookeeper</artifactId>
293 <version>3.4.14</version>
296 <!-- JSON libraries -->
298 <groupId>org.json</groupId>
299 <artifactId>json</artifactId>
300 <version>20131018</version>
303 <!-- Apache Kafka -->
305 <groupId>org.apache.kafka</groupId>
306 <artifactId>kafka_2.11</artifactId>
307 <version>0.11.0.3</version>
310 <groupId>com.google.guava</groupId>
311 <artifactId>guava</artifactId>
312 <version>23.6.1-jre</version>
316 <groupId>com.att.eelf</groupId>
317 <artifactId>eelf-core</artifactId>
318 <version>0.0.1</version>
319 <scope>compile</scope>
321 <!-- our NSA server library -->
323 <groupId>com.att.nsa</groupId>
324 <artifactId>nsaServerLibrary</artifactId>
325 <version>1.0.10</version>
328 <groupId>org.apache.tomcat</groupId>
329 <artifactId>tomcat-catalina</artifactId>
332 <groupId>org.apache.tomcat.embed</groupId>
333 <artifactId>tomcat-embed-core</artifactId>
336 <groupId>org.apache.tomcat</groupId>
337 <artifactId>tomcat-util</artifactId>
340 <groupId>javax.mail</groupId>
341 <artifactId>mail</artifactId>
346 <groupId>com.att.nsa</groupId>
347 <artifactId>saToolkit</artifactId>
348 <version>0.0.1</version>
351 <groupId>com.sun.mail</groupId>
352 <artifactId>javax.mail</artifactId>
353 <version>1.6.0</version>
355 <!-- javax activation is part of the JDK now -->
357 <groupId>javax.activation</groupId>
358 <artifactId>activation</artifactId>
363 <!-- our Highland Park library -->
364 <!-- <dependency> <groupId>com.att.nsa</groupId> <artifactId>highlandParkCore</artifactId>
365 <version>0.4.9</version> </dependency> -->
367 <!-- our base client library, for its command line tools -->
369 <groupId>com.att.nsa</groupId>
370 <artifactId>saClientLibrary</artifactId>
371 <version>0.0.1</version>
374 <groupId>org.apache.httpcomponents</groupId>
375 <artifactId>httpclient</artifactId>
378 <groupId>org.apache.httpcomponents</groupId>
379 <artifactId>httpclient-cache</artifactId>
384 <groupId>org.apache.httpcomponents</groupId>
385 <artifactId>httpclient</artifactId>
386 <version>4.5.3</version>
389 <groupId>org.apache.httpcomponents</groupId>
390 <artifactId>httpclient-cache</artifactId>
391 <version>4.5.3</version>
394 <groupId>org.apache.httpcomponents</groupId>
395 <artifactId>httpcore</artifactId>
396 <version>4.4.1</version>
400 <!-- explicit jline add b/c it conflicts with the zk client -->
402 <groupId>jline</groupId>
403 <artifactId>jline</artifactId>
404 <version>2.12.1</version>
408 <groupId>org.apache.curator</groupId>
409 <artifactId>curator-recipes</artifactId>
410 <version>4.0.1</version>
414 <groupId>org.apache.curator</groupId>
415 <artifactId>curator-test</artifactId>
416 <version>4.0.1</version>
421 <groupId>com.google.code.gson</groupId>
422 <artifactId>gson</artifactId>
423 <version>2.8.0</version>
427 <groupId>com.fasterxml.jackson.core</groupId>
428 <artifactId>jackson-core</artifactId>
429 <version>2.8.11</version>
434 <groupId>com.fasterxml.jackson.core</groupId>
435 <artifactId>jackson-databind</artifactId>
436 <version>2.8.11.1</version>
440 <groupId>org.powermock</groupId>
441 <artifactId>powermock-api-mockito</artifactId>
442 <version>1.6.4</version>
447 <groupId>org.powermock</groupId>
448 <artifactId>powermock-module-junit4</artifactId>
449 <version>1.6.4</version>
454 <groupId>org.powermock</groupId>
455 <artifactId>powermock-module-junit4-rule</artifactId>
456 <version>1.6.4</version>
460 <groupId>org.mockito</groupId>
461 <artifactId>mockito-core</artifactId>
462 <version>1.10.19</version>
468 <finalName>DMaaP</finalName>
471 <directory>src/main/resources</directory>
472 <filtering>true</filtering>
474 <include>**/*.properties</include>
477 <!-- <resource> <directory>src/main/config</directory> <filtering>true</filtering>
478 <includes> <include>**/log4j*.xml</include> </includes> </resource> <resource>
479 <directory>src/main/resources</directory> <filtering>false</filtering> <excludes>
480 <exclude>**/cambriaApiVersion.properties</exclude> </excludes> </resource> -->
483 <!-- <plugin> <artifactId>maven-assembly-plugin</artifactId> <version>2.4.1</version>
484 <configuration> <descriptors> <descriptor>src/assembly/dep.xml</descriptor>
485 </descriptors> </configuration> <executions> <execution> <id>make-assembly</id>
486 this is used for inheritance merges -->
487 <!-- <phase>package</phase> bind to the packaging phase <goals> <goal>single</goal>
488 </goals> </execution> </executions> </plugin> -->
491 <artifactId>maven-checkstyle-plugin</artifactId>
492 <version>2.17</version>
495 <groupId>org.onap.oparent</groupId>
496 <artifactId>checkstyle</artifactId>
497 <version>2.0.0</version>
502 <id>onap-license</id>
506 <phase>process-sources</phase>
508 <configLocation>onap-checkstyle/check-license.xml</configLocation>
509 <includeResources>false</includeResources>
510 <includeTestSourceDirectory>true</includeTestSourceDirectory>
511 <includeTestResources>false</includeTestResources>
512 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
515 <consoleOutput>true</consoleOutput>
516 <failsOnViolation>false</failsOnViolation>
520 <id>onap-java-style</id>
526 <!-- Use Google Java Style Guide:
527 https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
528 with minor changes -->
529 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
530 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated sources directory -->
531 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
532 <includeResources>true</includeResources>
533 <includeTestSourceDirectory>true</includeTestSourceDirectory>
534 <includeTestResources>true</includeTestResources>
537 <consoleOutput>true</consoleOutput>
538 <failsOnViolation>false</failsOnViolation>
544 <groupId>org.apache.maven.plugins</groupId>
545 <artifactId>maven-site-plugin</artifactId>
546 <version>3.6</version>
549 <groupId>org.apache.maven.wagon</groupId>
550 <artifactId>wagon-webdav-jackrabbit</artifactId>
551 <version>2.10</version>
556 <groupId>org.apache.maven.plugins</groupId>
557 <artifactId>maven-javadoc-plugin</artifactId>
558 <version>2.10.4</version>
560 <additionalparam>-Xdoclint:none</additionalparam>
564 <id>attach-javadocs</id>
572 <groupId>org.apache.maven.plugins</groupId>
573 <artifactId>maven-source-plugin</artifactId>
574 <version>3.0.0</version>
577 <id>attach-sources</id>
579 <goal>jar-no-fork</goal>
585 <groupId>org.apache.maven.plugins</groupId>
586 <artifactId>maven-surefire-plugin</artifactId>
587 <version>2.12.4</version>
590 <!-- exclude until junits updated <exclude>**/DME2*.java</exclude> -->
592 <!-- <skipTests>true</skipTests> -->
596 <groupId>org.jacoco</groupId>
597 <artifactId>jacoco-maven-plugin</artifactId>
600 <id>prepare-agent</id>
602 <goal>prepare-agent</goal>
611 <dataFile>${project.build.directory}/code-coverage/jacoco.exec</dataFile>
612 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
620 <!-- <profiles> <profile> <id>jenkins</id> <activation> <property> <name>env.BUILD_NUMBER</name>
621 </property> </activation> <build> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId>
622 <artifactId>cobertura-maven-plugin</artifactId> </plugin> <plugin> <groupId>com.att.aft.swm</groupId>
623 <artifactId>swm-plugin</artifactId> <version>1.4.4.12</version> <configuration>
624 <distFilesRootDirPath>/opt/app/dmaap/msgrtr/jenkinsbuild</distFilesRootDirPath>
625 <version>${project.version}-${env.BUILD_NUMBER}</version> <scriptExcludes>
626 <scriptExclude>**/swmpkgclean.sh</scriptExclude> </scriptExcludes> </configuration>
627 <executions> <execution> <id>pkgstage</id> <goals> <goal>pkgstage</goal>
628 </goals> </execution> <execution> <id>pkgcreate</id> <goals> <goal>pkgcreate</goal>
629 </goals> </execution> <execution> <id>pkginstall</id> <goals> <goal>install</goal>
630 </goals> <configuration> <componentName>com.att.nsa:msgrtr</componentName>
631 <version>${project.version}-${env.BUILD_NUMBER}</version> <waitTimeMins>4</waitTimeMins>
632 <properties> <property> <name>overrideDependencyConflicts</name> <value>true</value>
633 </property> <property> <name>AFTSWM_NOTIFY_ADDRESSES</name> <value>mailto:rs857c@att.com</value>
634 </property> </properties> </configuration> </execution> </executions> </plugin>
635 <plugin> <artifactId>maven-antrun-plugin</artifactId> <executions> <execution>
636 <phase>package</phase> <configuration> <tasks> <copy file="./src/main/scripts/swmpkgclean.sh"
637 toDir="./target" /> </tasks> </configuration> <goals> <goal>run</goal> </goals>
638 </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId>
639 <artifactId>maven-deploy-plugin</artifactId> <version>2.5</version> <configuration>
640 <skip>true</skip> </configuration> </plugin> </plugins> </build> </profile>