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>war</packaging>
28 <version>2.4.14</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.17</jersey1.version>
43 <jersey2.version>2.26</jersey2.version>
44 <jaxrs.version>2.0.1</jaxrs.version>
45 <cassandra.version>3.2.0</cassandra.version>
46 <zookeeper.version>3.4.6</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>
120 <artifactId>maven-war-plugin</artifactId>
121 <version>2.4</version>
123 <warSourceDirectory>WebContent</warSourceDirectory>
127 <groupId>org.apache.maven.plugins</groupId>
128 <artifactId>maven-jar-plugin</artifactId>
129 <version>2.4</version>
133 <phase>compile</phase>
139 <exclude>**/*.xml</exclude>
140 <exclude>**/*.properties</exclude>
141 <exclude>**/Sample*</exclude>
148 <groupId>org.apache.maven.plugins</groupId>
149 <artifactId>maven-install-plugin</artifactId>
150 <version>2.4</version>
153 <phase>install</phase>
155 <goal>install-file</goal>
158 <packaging>jar</packaging>
159 <artifactId>${project.artifactId}</artifactId>
160 <groupId>${project.groupId}</groupId>
161 <version>${project.version}</version>
162 <file>${project.build.directory}/${project.artifactId}.jar</file>
173 <groupId>ch.qos.logback</groupId>
174 <artifactId>logback-core</artifactId>
175 <version>1.2.3</version>
179 <groupId>org.slf4j</groupId>
180 <artifactId>slf4j-log4j12</artifactId>
186 <groupId>ch.qos.logback</groupId>
187 <artifactId>logback-classic</artifactId>
188 <version>1.2.3</version>
191 <groupId>org.slf4j</groupId>
192 <artifactId>slf4j-log4j12</artifactId>
198 <groupId>com.datastax.cassandra</groupId>
199 <artifactId>cassandra-driver-core</artifactId>
200 <version>${cassandra.version}</version>
203 <groupId>org.cassandraunit</groupId>
204 <artifactId>cassandra-unit</artifactId>
205 <version>3.3.0.2</version>
208 <groupId>org.apache.zookeeper</groupId>
209 <artifactId>zookeeper</artifactId>
210 <version>${zookeeper.version}</version>
213 <groupId>org.slf4j</groupId>
214 <artifactId>slf4j-log4j12</artifactId>
219 <groupId>com.sun.jersey</groupId>
220 <artifactId>jersey-client</artifactId>
221 <version>${jersey1.version}</version>
224 <groupId>com.sun.jersey</groupId>
225 <artifactId>jersey-server</artifactId>
226 <version>${jersey1.version}</version>
229 <groupId>com.sun.jersey</groupId>
230 <artifactId>jersey-json</artifactId>
231 <version>${jersey1.version}</version>
234 <groupId>javax.servlet</groupId>
235 <artifactId>servlet-api</artifactId>
236 <version>2.4</version>
237 <scope>provided</scope>
241 <groupId>org.apache.maven</groupId>
242 <artifactId>maven-model</artifactId>
243 <version>3.3.9</version>
247 <groupId>org.apache.commons</groupId>
248 <artifactId>commons-jcs-core</artifactId>
249 <version>2.2</version>
252 <groupId>javax.servlet</groupId>
253 <artifactId>javax.servlet-api</artifactId>
254 <version>3.0.1</version>
255 <scope>provided</scope>
258 <groupId>commons-codec</groupId>
259 <artifactId>commons-codec</artifactId>
260 <version>1.11</version>
263 <groupId>junit</groupId>
264 <artifactId>junit</artifactId>
265 <version>4.12</version>
270 <groupId>org.apache.curator</groupId>
271 <artifactId>curator-test</artifactId>
272 <version>2.3.0</version>
275 <groupId>org.apache.zookeeper</groupId>
276 <artifactId>zookeeper</artifactId>
279 <groupId>org.slf4j</groupId>
280 <artifactId>slf4j-log4j12</artifactId>
286 <groupId>org.mockito</groupId>
287 <artifactId>mockito-all</artifactId>
288 <version>1.9.0</version>
291 <groupId>io.swagger</groupId>
292 <artifactId>swagger-jersey-jaxrs</artifactId>
293 <version>1.5.18</version>
297 <groupId>com.google.guava</groupId>
298 <artifactId>guava</artifactId>
299 <version>19.0</version>
303 <groupId>com.att.eelf</groupId>
304 <artifactId>eelf-core</artifactId>
305 <version>1.0.1-oss</version>
308 <groupId>org.apache.httpcomponents</groupId>
309 <artifactId>httpclient</artifactId>
310 <version>4.5.3</version>
317 <groupId>org.apache.maven.plugins</groupId>
318 <artifactId>maven-javadoc-plugin</artifactId>
319 <version>2.10.3</version>
321 <author>true</author>
322 <breakiterator>true</breakiterator>
323 <version>true</version>
325 <link>https://docs.oracle.com/javase/7/docs/api/</link>
326 <link>https://tomcat.apache.org/tomcat-7.0-doc/jspapi/</link>
327 <link>http://docs.oracle.com/javaee/7/api/</link>
340 <groupId>io.fabric8</groupId>
341 <artifactId>docker-maven-plugin</artifactId>
342 <version>0.19.1</version>
344 <verbose>true</verbose>
345 <apiVersion>1.23</apiVersion>
346 <registry>nexus3.onap.org:10003</registry>
351 <alias>docker_music</alias>
353 <cleanup>true</cleanup>
355 <tag>${docker.tag}</tag>
356 <tag>${docker.latest.tag}</tag>
358 <dockerFileDir>${project.basedir}</dockerFileDir>
360 <descriptorRef>artifact</descriptorRef>
368 <id>clean-images</id>
369 <phase>pre-clean</phase>
374 <removeAll>true</removeAll>
379 <id>generate-images</id>
380 <phase>package</phase>
387 <phase>deploy</phase>
401 <distributionManagement>
403 <id>ecomp-releases</id>
404 <name>Release Repository</name>
405 <url>${nexusproxy}/${releaseNexusPath}</url>
408 <id>ecomp-snapshots</id>
409 <name>Snapshot Repository</name>
410 <url>${nexusproxy}/${snapshotNexusPath}</url>
411 </snapshotRepository>
412 <!-- added for javadoc -->
415 <url>dav:${nexusproxy}${sitePath}</url>
417 </distributionManagement>