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.4</version>
30 This is the MUSIC REST interface, packaged as a war file.
33 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
34 <jersey1.version>1.9</jersey1.version>
35 <jersey2.version>2.26</jersey2.version>
36 <jaxrs.version>2.0.1</jaxrs.version>
37 <cassandra.version>3.0.0</cassandra.version>
38 <zookeeper.version>3.4.6</zookeeper.version>
40 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
43 <sitePath>/content/sites/site/org/onap/music/${project.artifactId}/${project.version}</sitePath>
45 <timestamp>${maven.build.timestamp}</timestamp>
46 <maven.build.timestamp.format>yyyy.MM.dd.HH.mm</maven.build.timestamp.format>
48 <docker.tag>${project.version}-${timestamp}</docker.tag>
49 <docker.latest.tag>${project.version}-latest</docker.latest.tag>
54 <id>maven2-repository.java.net</id>
55 <name>Java.net Repository for Maven</name>
56 <url>http://download.java.net/maven/2/</url>
57 <layout>default</layout>
61 <finalName>MUSIC</finalName>
62 <sourceDirectory>src/main/java</sourceDirectory>
63 <outputDirectory>src/main/webapp/WEB-INF/classes</outputDirectory>
64 <testSourceDirectory>src/test/java</testSourceDirectory>
65 <testOutputDirectory>target/test-classes</testOutputDirectory>
66 <defaultGoal>validate</defaultGoal>
69 <directory>src/main/resources</directory>
70 <filtering>true</filtering>
75 <artifactId>maven-eclipse-plugin</artifactId>
76 <version>2.9</version>
78 <additionalProjectnatures>
79 <projectnature>org.springframework.ide.eclipse.core.springnature</projectnature>
80 </additionalProjectnatures>
81 <additionalBuildcommands>
82 <buildcommand>org.springframework.ide.eclipse.core.springbuilder</buildcommand>
83 </additionalBuildcommands>
84 <downloadSources>true</downloadSources>
85 <downloadJavadocs>true</downloadJavadocs>
89 <groupId>org.apache.maven.plugins</groupId>
90 <artifactId>maven-compiler-plugin</artifactId>
91 <version>3.5.1</version>
98 <artifactId>maven-war-plugin</artifactId>
99 <version>2.4</version>
101 <warSourceDirectory>WebContent</warSourceDirectory>
105 <groupId>org.apache.maven.plugins</groupId>
106 <artifactId>maven-jar-plugin</artifactId>
107 <version>2.4</version>
111 <phase>compile</phase>
117 <exclude>**/*.xml</exclude>
118 <exclude>**/*.properties</exclude>
119 <exclude>**/Sample*</exclude>
126 <groupId>org.apache.maven.plugins</groupId>
127 <artifactId>maven-install-plugin</artifactId>
128 <version>2.4</version>
131 <phase>install</phase>
133 <goal>install-file</goal>
136 <packaging>jar</packaging>
137 <artifactId>${project.artifactId}</artifactId>
138 <groupId>${project.groupId}</groupId>
139 <version>${project.version}</version>
140 <file>${project.build.directory}/${project.artifactId}.jar</file>
151 <groupId>ch.qos.logback</groupId>
152 <artifactId>logback-core</artifactId>
153 <version>1.1.3</version>
157 <groupId>org.slf4j</groupId>
158 <artifactId>slf4j-log4j12</artifactId>
164 <groupId>ch.qos.logback</groupId>
165 <artifactId>logback-classic</artifactId>
166 <version>1.1.3</version>
169 <groupId>org.slf4j</groupId>
170 <artifactId>slf4j-log4j12</artifactId>
176 <groupId>com.datastax.cassandra</groupId>
177 <artifactId>cassandra-driver-core</artifactId>
178 <version>${cassandra.version}</version>
181 <groupId>org.cassandraunit</groupId>
182 <artifactId>cassandra-unit</artifactId>
183 <version>3.3.0.1</version>
186 <groupId>org.apache.zookeeper</groupId>
187 <artifactId>zookeeper</artifactId>
188 <version>${zookeeper.version}</version>
191 <groupId>com.sun.jersey</groupId>
192 <artifactId>jersey-client</artifactId>
193 <version>${jersey1.version}</version>
196 <groupId>com.sun.jersey</groupId>
197 <artifactId>jersey-server</artifactId>
198 <version>${jersey1.version}</version>
201 <groupId>com.sun.jersey</groupId>
202 <artifactId>jersey-json</artifactId>
203 <version>${jersey1.version}</version>
206 <groupId>javax.servlet</groupId>
207 <artifactId>servlet-api</artifactId>
208 <version>2.4</version>
209 <scope>provided</scope>
212 <groupId>org.apache.maven</groupId>
213 <artifactId>maven-model</artifactId>
214 <version>3.3.9</version>
217 <groupId>org.apache.commons</groupId>
218 <artifactId>commons-jcs-core</artifactId>
219 <version>2.2</version>
223 <groupId>javax.servlet</groupId>
224 <artifactId>javax.servlet-api</artifactId>
225 <version>3.0.1</version>
226 <scope>provided</scope>
229 <groupId>commons-codec</groupId>
230 <artifactId>commons-codec</artifactId>
231 <version>1.11</version>
236 <groupId>junit</groupId>
237 <artifactId>junit</artifactId>
238 <version>4.12</version>
243 <groupId>org.mockito</groupId>
244 <artifactId>mockito-all</artifactId>
245 <version>1.9.0</version>
250 <groupId>io.swagger</groupId>
251 <artifactId>swagger-jersey-jaxrs</artifactId>
252 <version>1.5.0</version>
256 <groupId>com.google.guava</groupId>
257 <artifactId>guava</artifactId>
258 <version>19.0</version>
262 <groupId>com.att.eelf</groupId>
263 <artifactId>eelf-core</artifactId>
264 <version>1.0.0</version>
271 <groupId>org.apache.maven.plugins</groupId>
272 <artifactId>maven-javadoc-plugin</artifactId>
273 <version>2.10.3</version>
275 <author>true</author>
276 <breakiterator>true</breakiterator>
277 <version>true</version>
279 <link>https://docs.oracle.com/javase/7/docs/api/</link>
280 <link>https://tomcat.apache.org/tomcat-7.0-doc/jspapi/</link>
281 <link>http://docs.oracle.com/javaee/7/api/</link>
294 <groupId>io.fabric8</groupId>
295 <artifactId>docker-maven-plugin</artifactId>
296 <version>0.19.1</version>
298 <verbose>true</verbose>
299 <apiVersion>1.23</apiVersion>
300 <registry>nexus3.onap.org:10003</registry>
305 <alias>docker_music</alias>
307 <cleanup>true</cleanup>
309 <tag>${docker.tag}</tag>
310 <tag>${docker.latest.tag}</tag>
312 <dockerFileDir>${project.basedir}</dockerFileDir>
314 <descriptorRef>artifact</descriptorRef>
322 <id>clean-images</id>
323 <phase>pre-clean</phase>
328 <removeAll>true</removeAll>
333 <id>generate-images</id>
334 <phase>package</phase>
341 <phase>deploy</phase>
356 <distributionManagement>
359 <url>dav:${onap.nexus.url}${sitePath}</url>
361 </distributionManagement>