2 ============LICENSE_START==========================================
4 ===================================================================
5 Copyright (c) 2017 AT&T Intellectual Property
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
11 http://www.apache.org/licenses/LICENSE-2.0
13 Unless required by applicable law or agreed to in writing, software
14 distributed under the License is distributed on an "AS IS" BASIS,
15 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 See the License for the specific language governing permissions and
17 limitations under the License.
19 ============LICENSE_END=============================================
20 ====================================================================
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.music</groupId>
26 <artifactId>MUSIC</artifactId>
27 <packaging>jar</packaging>
28 <version>2.5.7</version>
30 This is the MUSIC REST interface, packaged as a war file.
34 <groupId>org.onap.oparent</groupId>
35 <artifactId>oparent</artifactId>
36 <version>0.1.1</version>
41 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
42 <jersey1.version>1.19</jersey1.version>
43 <jersey2.version>2.25.1</jersey2.version>
44 <jaxrs.version>2.0.1</jaxrs.version>
45 <cassandra.version>3.4.0</cassandra.version>
46 <zookeeper.version>3.4.11</zookeeper.version>
48 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
49 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
51 <nexusproxy>https://nexus.onap.org</nexusproxy>
52 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
53 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
54 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
55 <sitePath>/content/sites/site/org/onap/music/${project.version}</sitePath>
57 <timestamp>${maven.build.timestamp}</timestamp>
58 <maven.build.timestamp.format>yyyy.MM.dd.HH.mm</maven.build.timestamp.format>
60 <docker.tag>${project.version}-${timestamp}</docker.tag>
61 <docker.latest.tag>${project.version}-latest</docker.latest.tag>
66 <id>ecomp-releases</id>
67 <name>ECOMP Release Repository</name>
68 <url>${onap.nexus.url}/${releaseNexusPath}</url>
71 <id>ecomp-snapshots</id>
72 <name>Snapshot Repository</name>
73 <url>${nexusproxy}/${snapshotNexusPath}</url>
76 <id>ecomp-staging</id>
77 <name>Staging Repository</name>
78 <url>${nexusproxy}/${stagingNexusPath}</url>
83 <finalName>MUSIC</finalName>
84 <sourceDirectory>src/main/java</sourceDirectory>
85 <outputDirectory>src/main/webapp/WEB-INF/classes</outputDirectory>
86 <testSourceDirectory>src/test/java</testSourceDirectory>
87 <testOutputDirectory>target/test-classes</testOutputDirectory>
88 <defaultGoal>validate</defaultGoal>
91 <directory>src/main/resources</directory>
92 <filtering>true</filtering>
97 <artifactId>maven-eclipse-plugin</artifactId>
98 <version>2.9</version>
100 <additionalProjectnatures>
101 <projectnature>org.springframework.ide.eclipse.core.springnature</projectnature>
102 </additionalProjectnatures>
103 <additionalBuildcommands>
104 <buildcommand>org.springframework.ide.eclipse.core.springbuilder</buildcommand>
105 </additionalBuildcommands>
106 <downloadSources>true</downloadSources>
107 <downloadJavadocs>true</downloadJavadocs>
111 <groupId>org.apache.maven.plugins</groupId>
112 <artifactId>maven-compiler-plugin</artifactId>
113 <version>3.5.1</version>
118 <exclude>jar/**</exclude>
123 <artifactId>maven-war-plugin</artifactId>
124 <version>2.4</version>
126 <warSourceDirectory>WebContent</warSourceDirectory>
130 <groupId>org.apache.maven.plugins</groupId>
131 <artifactId>maven-jar-plugin</artifactId>
132 <version>2.4</version>
136 <phase>compile</phase>
142 <exclude>**/*.xml</exclude>
143 <exclude>**/*.properties</exclude>
144 <exclude>**/Sample*</exclude>
151 <groupId>org.apache.maven.plugins</groupId>
152 <artifactId>maven-install-plugin</artifactId>
153 <version>2.4</version>
156 <phase>install</phase>
158 <goal>install-file</goal>
161 <packaging>jar</packaging>
162 <artifactId>${project.artifactId}</artifactId>
163 <groupId>${project.groupId}</groupId>
164 <version>${project.version}</version>
165 <file>${project.build.directory}/${project.artifactId}.jar</file>
176 <groupId>javax.servlet</groupId>
177 <artifactId>servlet-api</artifactId>
178 <version>2.4</version>
179 <scope>provided</scope>
182 <groupId>javax.servlet</groupId>
183 <artifactId>javax.servlet-api</artifactId>
184 <version>3.0.1</version>
185 <scope>provided</scope>
187 <!-- /Development -->
191 <groupId>ch.qos.logback</groupId>
192 <artifactId>logback-core</artifactId>
193 <version>1.2.3</version>
196 <groupId>org.slf4j</groupId>
197 <artifactId>slf4j-log4j12</artifactId>
202 <groupId>ch.qos.logback</groupId>
203 <artifactId>logback-classic</artifactId>
204 <version>1.2.3</version>
207 <groupId>org.slf4j</groupId>
208 <artifactId>slf4j-log4j12</artifactId>
213 <groupId>com.att.eelf</groupId>
214 <artifactId>eelf-core</artifactId>
215 <version>1.0.1-oss</version>
221 <groupId>com.datastax.cassandra</groupId>
222 <artifactId>cassandra-driver-core</artifactId>
223 <version>${cassandra.version}</version>
229 <groupId>org.apache.zookeeper</groupId>
230 <artifactId>zookeeper</artifactId>
231 <version>${zookeeper.version}</version>
234 <groupId>org.slf4j</groupId>
235 <artifactId>slf4j-log4j12</artifactId>
243 <groupId>com.sun.jersey</groupId>
244 <artifactId>jersey-client</artifactId>
245 <version>${jersey1.version}</version>
248 <groupId>com.sun.jersey</groupId>
249 <artifactId>jersey-server</artifactId>
250 <version>${jersey1.version}</version>
253 <groupId>com.sun.jersey</groupId>
254 <artifactId>jersey-json</artifactId>
255 <version>${jersey1.version}</version>
258 <groupId>com.sun.jersey</groupId>
259 <artifactId>jersey-servlet</artifactId>
260 <version>${jersey1.version}</version>
265 <groupId>org.apache.commons</groupId>
266 <artifactId>commons-jcs-core</artifactId>
267 <version>2.2</version>
270 <groupId>commons-codec</groupId>
271 <artifactId>commons-codec</artifactId>
272 <version>1.11</version>
277 <groupId>junit</groupId>
278 <artifactId>junit</artifactId>
279 <version>4.12</version>
283 <groupId>org.cassandraunit</groupId>
284 <artifactId>cassandra-unit</artifactId>
285 <version>3.3.0.2</version>
289 <groupId>org.apache.curator</groupId>
290 <artifactId>curator-test</artifactId>
291 <version>2.3.0</version>
294 <groupId>org.apache.zookeeper</groupId>
295 <artifactId>zookeeper</artifactId>
298 <groupId>org.slf4j</groupId>
299 <artifactId>slf4j-log4j12</artifactId>
305 <groupId>org.mockito</groupId>
306 <artifactId>mockito-all</artifactId>
307 <version>1.9.0</version>
312 <groupId>io.netty</groupId>
313 <artifactId>netty-handler</artifactId>
314 <version>4.0.56.Final</version>
317 <groupId>com.fasterxml.jackson.core</groupId>
318 <artifactId>jackson-databind</artifactId>
319 <version>2.9.4</version>
322 <groupId>org.apache.httpcomponents</groupId>
323 <artifactId>httpclient</artifactId>
324 <version>4.5.3</version>
327 <groupId>io.swagger</groupId>
328 <artifactId>swagger-jersey-jaxrs</artifactId>
329 <version>1.5.18</version>
332 <groupId>com.google.guava</groupId>
333 <artifactId>guava</artifactId>
334 <version>19.0</version>
337 <groupId>org.mindrot</groupId>
338 <artifactId>jbcrypt</artifactId>
339 <version>0.4</version>
341 <!-- https://mvnrepository.com/artifact/commons-codec/commons-codec -->
343 <groupId>commons-codec</groupId>
344 <artifactId>commons-codec</artifactId>
345 <version>1.9</version>
347 <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-lang3 -->
349 <groupId>org.apache.commons</groupId>
350 <artifactId>commons-lang3</artifactId>
351 <version>3.0</version>
359 <groupId>org.apache.maven.plugins</groupId>
360 <artifactId>maven-javadoc-plugin</artifactId>
361 <version>2.10.3</version>
363 <author>true</author>
364 <breakiterator>true</breakiterator>
365 <version>true</version>
367 <link>https://docs.oracle.com/javase/7/docs/api/</link>
368 <link>https://tomcat.apache.org/tomcat-7.0-doc/jspapi/</link>
369 <link>http://docs.oracle.com/javaee/7/api/</link>
382 <groupId>io.fabric8</groupId>
383 <artifactId>docker-maven-plugin</artifactId>
384 <version>0.19.1</version>
386 <verbose>true</verbose>
387 <apiVersion>1.23</apiVersion>
388 <registry>nexus3.onap.org:10003</registry>
392 <name>onap/music/music</name>
393 <alias>docker_music</alias>
395 <cleanup>true</cleanup>
397 <tag>${docker.tag}</tag>
398 <tag>${docker.latest.tag}</tag>
400 <dockerFileDir>${project.basedir}</dockerFileDir>
402 <descriptorRef>artifact</descriptorRef>
408 <name>onap/music/cassandra_music</name>
409 <alias>docker_cassandra</alias>
411 <cleanup>true</cleanup>
413 <tag>3.0-${timestamp}</tag>
414 <tag>3.0-latest</tag>
416 <dockerFileDir>${project.basedir}/distribution/cassandra</dockerFileDir>
420 <!-- <image> <name>onap/music/zookeeper_music</name>
421 <alias>docker_zookeeper</alias> <build> <cleanup>true</cleanup> <tags> <tag>3.4-${timestamp}</tag>
422 <tag>3.4-latest</tag> </tags> <dockerFileDir>${project.basedir}/distribution/zookeeper</dockerFileDir>
423 </build> </image> -->
425 <!-- <image> <name>onap/music/tomcat_music</name>
426 <alias>docker_tomcat</alias> <build> <cleanup>true</cleanup> <tags> <tag>8.5-${timestamp}</tag>
427 <tag>8.5-latest</tag> </tags> <dockerFileDir>${project.basedir}/distribution/tomcat</dockerFileDir>
428 </build> </image>\ -->
433 <id>clean-images</id>
434 <phase>pre-clean</phase>
439 <removeAll>true</removeAll>
444 <id>generate-images</id>
445 <phase>package</phase>
452 <phase>deploy</phase>
457 <image>onap/music/music</image>
466 <distributionManagement>
468 <id>ecomp-releases</id>
469 <name>Release Repository</name>
470 <url>${nexusproxy}/${releaseNexusPath}</url>
473 <id>ecomp-snapshots</id>
474 <name>Snapshot Repository</name>
475 <url>${nexusproxy}/${snapshotNexusPath}</url>
476 </snapshotRepository>
477 <!-- added for javadoc -->
480 <url>dav:${nexusproxy}${sitePath}</url>
482 </distributionManagement>