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.8</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 -->
190 <groupId>ch.qos.logback</groupId>
191 <artifactId>logback-core</artifactId>
192 <version>1.2.3</version>
195 <groupId>org.slf4j</groupId>
196 <artifactId>slf4j-log4j12</artifactId>
201 <groupId>ch.qos.logback</groupId>
202 <artifactId>logback-classic</artifactId>
203 <version>1.2.3</version>
206 <groupId>org.slf4j</groupId>
207 <artifactId>slf4j-log4j12</artifactId>
212 <groupId>com.att.eelf</groupId>
213 <artifactId>eelf-core</artifactId>
214 <version>1.0.1-oss</version>
220 <groupId>com.datastax.cassandra</groupId>
221 <artifactId>cassandra-driver-core</artifactId>
222 <version>${cassandra.version}</version>
228 <groupId>org.apache.zookeeper</groupId>
229 <artifactId>zookeeper</artifactId>
230 <version>${zookeeper.version}</version>
233 <groupId>org.slf4j</groupId>
234 <artifactId>slf4j-log4j12</artifactId>
242 <groupId>com.sun.jersey</groupId>
243 <artifactId>jersey-client</artifactId>
244 <version>${jersey1.version}</version>
247 <groupId>com.sun.jersey</groupId>
248 <artifactId>jersey-server</artifactId>
249 <version>${jersey1.version}</version>
252 <groupId>com.sun.jersey</groupId>
253 <artifactId>jersey-json</artifactId>
254 <version>${jersey1.version}</version>
257 <groupId>com.sun.jersey</groupId>
258 <artifactId>jersey-servlet</artifactId>
259 <version>${jersey1.version}</version>
264 <groupId>org.apache.commons</groupId>
265 <artifactId>commons-jcs-core</artifactId>
266 <version>2.2</version>
269 <groupId>commons-codec</groupId>
270 <artifactId>commons-codec</artifactId>
271 <version>1.11</version>
276 <groupId>junit</groupId>
277 <artifactId>junit</artifactId>
278 <version>4.12</version>
282 <groupId>org.cassandraunit</groupId>
283 <artifactId>cassandra-unit</artifactId>
284 <version>3.3.0.2</version>
288 <groupId>org.apache.curator</groupId>
289 <artifactId>curator-test</artifactId>
290 <version>2.3.0</version>
293 <groupId>org.apache.zookeeper</groupId>
294 <artifactId>zookeeper</artifactId>
297 <groupId>org.slf4j</groupId>
298 <artifactId>slf4j-log4j12</artifactId>
304 <groupId>org.mockito</groupId>
305 <artifactId>mockito-all</artifactId>
306 <version>1.9.0</version>
311 <groupId>io.netty</groupId>
312 <artifactId>netty-handler</artifactId>
313 <version>4.0.56.Final</version>
316 <groupId>com.fasterxml.jackson.core</groupId>
317 <artifactId>jackson-databind</artifactId>
318 <version>2.9.4</version>
321 <groupId>org.apache.httpcomponents</groupId>
322 <artifactId>httpclient</artifactId>
323 <version>4.5.3</version>
326 <groupId>io.swagger</groupId>
327 <artifactId>swagger-jersey-jaxrs</artifactId>
328 <version>1.5.18</version>
331 <groupId>com.google.guava</groupId>
332 <artifactId>guava</artifactId>
333 <version>19.0</version>
336 <groupId>org.mindrot</groupId>
337 <artifactId>jbcrypt</artifactId>
338 <version>0.4</version>
340 <!-- https://mvnrepository.com/artifact/commons-codec/commons-codec -->
342 <groupId>commons-codec</groupId>
343 <artifactId>commons-codec</artifactId>
344 <version>1.9</version>
346 <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-lang3 -->
348 <groupId>org.apache.commons</groupId>
349 <artifactId>commons-lang3</artifactId>
350 <version>3.0</version>
358 <groupId>org.apache.maven.plugins</groupId>
359 <artifactId>maven-javadoc-plugin</artifactId>
360 <version>2.10.3</version>
362 <author>true</author>
363 <breakiterator>true</breakiterator>
364 <version>true</version>
366 <link>https://docs.oracle.com/javase/7/docs/api/</link>
367 <link>https://tomcat.apache.org/tomcat-7.0-doc/jspapi/</link>
368 <link>http://docs.oracle.com/javaee/7/api/</link>
381 <groupId>io.fabric8</groupId>
382 <artifactId>docker-maven-plugin</artifactId>
383 <version>0.19.1</version>
385 <verbose>true</verbose>
386 <apiVersion>1.23</apiVersion>
387 <registry>nexus3.onap.org:10003</registry>
391 <name>onap/music/music</name>
392 <alias>docker_music</alias>
394 <cleanup>true</cleanup>
396 <tag>${docker.tag}</tag>
397 <tag>${docker.latest.tag}</tag>
399 <dockerFileDir>${project.basedir}</dockerFileDir>
401 <descriptorRef>artifact</descriptorRef>
407 <name>onap/music/cassandra_music</name>
408 <alias>docker_cassandra</alias>
410 <cleanup>true</cleanup>
412 <tag>3.0-${timestamp}</tag>
413 <tag>3.0-latest</tag>
415 <dockerFileDir>${project.basedir}/distribution/cassandra</dockerFileDir>
419 <!-- <image> <name>onap/music/zookeeper_music</name>
420 <alias>docker_zookeeper</alias> <build> <cleanup>true</cleanup> <tags> <tag>3.4-${timestamp}</tag>
421 <tag>3.4-latest</tag> </tags> <dockerFileDir>${project.basedir}/distribution/zookeeper</dockerFileDir>
422 </build> </image> -->
424 <!-- <image> <name>onap/music/tomcat_music</name>
425 <alias>docker_tomcat</alias> <build> <cleanup>true</cleanup> <tags> <tag>8.5-${timestamp}</tag>
426 <tag>8.5-latest</tag> </tags> <dockerFileDir>${project.basedir}/distribution/tomcat</dockerFileDir>
427 </build> </image>\ -->
432 <id>clean-images</id>
433 <phase>pre-clean</phase>
438 <removeAll>true</removeAll>
443 <id>generate-images</id>
444 <phase>package</phase>
451 <phase>deploy</phase>
456 <image>onap/music/music</image>
465 <distributionManagement>
467 <id>ecomp-releases</id>
468 <name>Release Repository</name>
469 <url>${nexusproxy}/${releaseNexusPath}</url>
472 <id>ecomp-snapshots</id>
473 <name>Snapshot Repository</name>
474 <url>${nexusproxy}/${snapshotNexusPath}</url>
475 </snapshotRepository>
476 <!-- added for javadoc -->
479 <url>dav:${nexusproxy}${sitePath}</url>
481 </distributionManagement>