2 ============LICENSE_START=======================================================
4 ================================================================================
5 Copyright © 2017 AT&T Intellectual Property. All rights reserved.
6 ================================================================================
7 Licensed under the Apache License, Version 2.0 (the "License");
8 you may not use this file except in compliance with the License.
9 You may obtain a copy of the License at
10 http://www.apache.org/licenses/LICENSE-2.0
12 Unless required by applicable law or agreed to in writing, software
13 distributed under the License is distributed on an "AS IS" BASIS,
14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 See the License for the specific language governing permissions and
16 limitations under the License.
17 ============LICENSE_END=========================================================
19 ECOMP is a trademark and service mark of AT&T Intellectual Property.
22 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
23 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
24 <modelVersion>4.0.0</modelVersion>
25 <groupId>org.onap.dmaap.messagerouter.msgrtr</groupId>
26 <artifactId>msgrtr</artifactId>
27 <version>1.0.0-SNAPSHOT</version>
28 <packaging>jar</packaging>
29 <name>Message Router</name>
30 <description>Message Router - Restful interface built for kafka</description>
33 <groupId>org.onap.oparent</groupId>
34 <artifactId>oparent</artifactId>
35 <version>1.0.0-SNAPSHOT</version>
39 <spring.version>3.2.14.RELEASE</spring.version>
40 <cxf.version>3.0.4</cxf.version>
41 <jstl.version>1.2</jstl.version>
42 <sonar.junit.reportsPath>target/surefire-reports</sonar.junit.reportsPath>
43 <sonar.cobertura.reportPath>target/cobertura/cobertura.ser</sonar.cobertura.reportPath>
44 <maven.compiler.target>1.7</maven.compiler.target>
45 <maven.compiler.source>1.7</maven.compiler.source>
46 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
49 <!-- Distribution management -->
50 <!-- Currently all artifacts will be uploaded to att-public-group reposiotry
53 <!-- End Distribution management -->
57 <name>Apache License Version 2.0</name>
63 <name>Rajashree</name>
65 <organization>ATT</organization>
66 <organizationUrl>www.att.com</organizationUrl>
71 <organization>ATT</organization>
72 <organizationUrl>www.att.com</organizationUrl>
79 <groupId>junit</groupId>
80 <artifactId>junit</artifactId>
81 <version>4.11</version>
87 <groupId>org.slf4j</groupId>
88 <artifactId>slf4j-api</artifactId>
89 <version>1.7.6</version>
93 <groupId>javax.inject</groupId>
94 <artifactId>javax.inject</artifactId>
99 <groupId>com.att.ajsc</groupId>
100 <artifactId>ajsc-core</artifactId>
101 <version>1.0.0</version>
105 <groupId>javax.ws.rs</groupId>
106 <artifactId>javax.ws.rs-api</artifactId>
107 <version>2.0.1</version>
110 <!-- <dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-rt-rs-client</artifactId>
111 <version>${cxf.version}</version> </dependency> <dependency> <groupId>org.apache.cxf</groupId>
112 <artifactId>cxf-rt-frontend-jaxws</artifactId> <version>${cxf.version}</version>
113 </dependency> <dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-rt-transports-http</artifactId>
114 <version>${cxf.version}</version> </dependency> Jetty is needed if you're
115 are not using the CXFServlet <dependency> <groupId>org.apache.cxf</groupId>
116 <artifactId>cxf-rt-transports-http-jetty</artifactId> <version>${cxf.version}</version>
118 <!-- Begin - Spring Dependencies for DI -->
120 <groupId>org.springframework</groupId>
121 <artifactId>spring-core</artifactId>
122 <version>${spring.version}</version>
125 <groupId>org.springframework</groupId>
126 <artifactId>spring-context</artifactId>
127 <version>${spring.version}</version>
130 <groupId>org.springframework</groupId>
131 <artifactId>spring-webmvc</artifactId>
132 <version>${spring.version}</version>
135 <groupId>org.springframework</groupId>
136 <artifactId>spring-web</artifactId>
137 <version>${spring.version}</version>
140 <groupId>javax.servlet</groupId>
141 <artifactId>javax.servlet-api</artifactId>
142 <version>3.0.1</version>
143 <scope>provided</scope>
145 <!-- End - Spring Dependencies for DI -->
146 <!-- Begin - Dependency on Dmaap Spring layer -->
147 <!-- <dependency> <groupId>com.att.dmaap</groupId> <artifactId>dmaap-spring</artifactId>
148 <version>0.0.1-SNAPSHOT</version> </dependency> -->
149 <!-- End - Dependency on Dmaap Spring layer -->
150 <!-- Begin - Dependency on log4j for logging purpose -->
151 <!-- <dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId>
152 <version>1.2.17</version> </dependency> -->
153 <!-- Log4j's enhanced pattern layout is shipped separately <dependency>
154 <groupId>log4j</groupId> <artifactId>apache-log4j-extras</artifactId> <version>1.2.17</version>
156 <!-- End - Dependency on log4j for logging purpose -->
157 <!-- ZooKeeper Library -->
159 <groupId>org.apache.zookeeper</groupId>
160 <artifactId>zookeeper</artifactId>
161 <version>3.4.6</version>
164 <!-- JSON libraries -->
166 <groupId>org.json</groupId>
167 <artifactId>json</artifactId>
168 <version>20131018</version>
171 <!-- Apache Kafka -->
173 <groupId>org.apache.kafka</groupId>
174 <artifactId>kafka_2.10</artifactId>
175 <version>0.8.2.1</version>
179 <groupId>com.att.eelf</groupId>
180 <artifactId>eelf-core</artifactId>
181 <version>0.0.1</version>
182 <scope>compile</scope>
184 <!-- our NSA server library -->
186 <groupId>com.att.nsa</groupId>
187 <artifactId>nsaServerLibrary</artifactId>
188 <version>1.0.10</version>
191 <groupId>com.att.nsa</groupId>
192 <artifactId>saToolkit</artifactId>
193 <version>0.0.1</version>
196 <!-- our Highland Park library -->
198 <groupId>com.att.nsa</groupId>
199 <artifactId>highlandParkCore</artifactId>
200 <version>0.4.9</version>
203 <!-- our base client library, for its command line tools -->
205 <groupId>com.att.nsa</groupId>
206 <artifactId>saClientLibrary</artifactId>
207 <version>0.0.1</version>
210 <groupId>org.apache.httpcomponents</groupId>
211 <artifactId>httpclient</artifactId>
214 <groupId>org.apache.httpcomponents</groupId>
215 <artifactId>httpclient-cache</artifactId>
220 <groupId>org.apache.httpcomponents</groupId>
221 <artifactId>httpclient</artifactId>
222 <version>4.4.1</version>
225 <groupId>org.apache.httpcomponents</groupId>
226 <artifactId>httpclient-cache</artifactId>
227 <version>4.4.1</version>
230 <!-- explicit jline add b/c it conflicts with the zk client -->
232 <groupId>jline</groupId>
233 <artifactId>jline</artifactId>
234 <version>2.12.1</version>
238 <groupId>org.apache.curator</groupId>
239 <artifactId>curator-recipes</artifactId>
240 <version>2.6.0</version>
244 <groupId>org.apache.curator</groupId>
245 <artifactId>curator-test</artifactId>
246 <version>2.6.0</version>
250 <groupId>com.att.aft</groupId>
251 <artifactId>dme2</artifactId>
252 <version>3.1.200</version>
256 <groupId>com.google.code.gson</groupId>
257 <artifactId>gson</artifactId>
258 <version>2.8.0</version>
262 <finalName>DMaaP</finalName>
265 <directory>src/main/resources</directory>
266 <filtering>true</filtering>
268 <include>**/*.properties</include>
271 <!-- <resource> <directory>src/main/config</directory> <filtering>true</filtering>
272 <includes> <include>**/log4j*.xml</include> </includes> </resource> <resource>
273 <directory>src/main/resources</directory> <filtering>false</filtering> <excludes>
274 <exclude>**/cambriaApiVersion.properties</exclude> </excludes> </resource> -->
277 <!-- <plugin> <artifactId>maven-assembly-plugin</artifactId> <version>2.4.1</version>
278 <configuration> <descriptors> <descriptor>src/assembly/dep.xml</descriptor>
279 </descriptors> </configuration> <executions> <execution> <id>make-assembly</id>
280 this is used for inheritance merges -->
281 <!-- <phase>package</phase> bind to the packaging phase <goals> <goal>single</goal>
282 </goals> </execution> </executions> </plugin> -->
285 <groupId>org.apache.maven.plugins</groupId>
286 <artifactId>maven-javadoc-plugin</artifactId>
287 <version>2.10.4</version>
289 <additionalparam>-Xdoclint:none</additionalparam>
293 <id>attach-javadocs</id>
301 <groupId>org.apache.maven.plugins</groupId>
302 <artifactId>maven-source-plugin</artifactId>
303 <version>3.0.0</version>
306 <id>attach-sources</id>
308 <goal>jar-no-fork</goal>
314 <groupId>org.apache.maven.plugins</groupId>
315 <artifactId>maven-surefire-plugin</artifactId>
316 <version>2.12.4</version>
319 <!-- exclude until junits updated -->
320 <exclude>**/DME2*.java</exclude>
322 <!-- <skipTests>true</skipTests> -->
326 <groupId>org.codehaus.mojo</groupId>
327 <artifactId>cobertura-maven-plugin</artifactId>
328 <version>2.7</version>
331 <format>html</format>
339 <!-- <profiles> <profile> <id>jenkins</id> <activation> <property> <name>env.BUILD_NUMBER</name>
340 </property> </activation> <build> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId>
341 <artifactId>cobertura-maven-plugin</artifactId> </plugin> <plugin> <groupId>com.att.aft.swm</groupId>
342 <artifactId>swm-plugin</artifactId> <version>1.4.4.12</version> <configuration>
343 <distFilesRootDirPath>/opt/app/dmaap/msgrtr/jenkinsbuild</distFilesRootDirPath>
344 <version>${project.version}-${env.BUILD_NUMBER}</version> <scriptExcludes>
345 <scriptExclude>**/swmpkgclean.sh</scriptExclude> </scriptExcludes> </configuration>
346 <executions> <execution> <id>pkgstage</id> <goals> <goal>pkgstage</goal>
347 </goals> </execution> <execution> <id>pkgcreate</id> <goals> <goal>pkgcreate</goal>
348 </goals> </execution> <execution> <id>pkginstall</id> <goals> <goal>install</goal>
349 </goals> <configuration> <componentName>com.att.nsa:msgrtr</componentName>
350 <version>${project.version}-${env.BUILD_NUMBER}</version> <waitTimeMins>4</waitTimeMins>
351 <properties> <property> <name>overrideDependencyConflicts</name> <value>true</value>
352 </property> <property> <name>AFTSWM_NOTIFY_ADDRESSES</name> <value>mailto:rs857c@att.com</value>
353 </property> </properties> </configuration> </execution> </executions> </plugin>
354 <plugin> <artifactId>maven-antrun-plugin</artifactId> <executions> <execution>
355 <phase>package</phase> <configuration> <tasks> <copy file="./src/main/scripts/swmpkgclean.sh"
356 toDir="./target" /> </tasks> </configuration> <goals> <goal>run</goal> </goals>
357 </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId>
358 <artifactId>maven-deploy-plugin</artifactId> <version>2.5</version> <configuration>
359 <skip>true</skip> </configuration> </plugin> </plugins> </build> </profile>