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>
42 <timestamp>${maven.build.timestamp}</timestamp>
43 <maven.build.timestamp.format>yyyy.MM.dd.HH.mm</maven.build.timestamp.format>
45 <docker.tag>${project.version}-${timestamp}</docker.tag>
46 <docker.latest.tag>${project.version}-latest</docker.latest.tag>
51 <id>maven2-repository.java.net</id>
52 <name>Java.net Repository for Maven</name>
53 <url>http://download.java.net/maven/2/</url>
54 <layout>default</layout>
58 <finalName>MUSIC</finalName>
59 <sourceDirectory>src/main/java</sourceDirectory>
60 <outputDirectory>src/main/webapp/WEB-INF/classes</outputDirectory>
61 <testSourceDirectory>src/test/java</testSourceDirectory>
62 <testOutputDirectory>target/test-classes</testOutputDirectory>
63 <defaultGoal>validate</defaultGoal>
66 <directory>src/main/resources</directory>
67 <filtering>true</filtering>
72 <artifactId>maven-eclipse-plugin</artifactId>
73 <version>2.9</version>
75 <additionalProjectnatures>
76 <projectnature>org.springframework.ide.eclipse.core.springnature</projectnature>
77 </additionalProjectnatures>
78 <additionalBuildcommands>
79 <buildcommand>org.springframework.ide.eclipse.core.springbuilder</buildcommand>
80 </additionalBuildcommands>
81 <downloadSources>true</downloadSources>
82 <downloadJavadocs>true</downloadJavadocs>
86 <groupId>org.apache.maven.plugins</groupId>
87 <artifactId>maven-compiler-plugin</artifactId>
88 <version>3.5.1</version>
95 <artifactId>maven-war-plugin</artifactId>
96 <version>2.4</version>
98 <warSourceDirectory>WebContent</warSourceDirectory>
102 <groupId>org.apache.maven.plugins</groupId>
103 <artifactId>maven-jar-plugin</artifactId>
104 <version>2.4</version>
108 <phase>compile</phase>
114 <exclude>**/*.xml</exclude>
115 <exclude>**/*.properties</exclude>
116 <exclude>**/Sample*</exclude>
123 <groupId>org.apache.maven.plugins</groupId>
124 <artifactId>maven-install-plugin</artifactId>
125 <version>2.4</version>
128 <phase>install</phase>
130 <goal>install-file</goal>
133 <packaging>jar</packaging>
134 <artifactId>${project.artifactId}</artifactId>
135 <groupId>${project.groupId}</groupId>
136 <version>${project.version}</version>
137 <file>${project.build.directory}/${project.artifactId}.jar</file>
148 <groupId>ch.qos.logback</groupId>
149 <artifactId>logback-core</artifactId>
150 <version>1.1.3</version>
154 <groupId>org.slf4j</groupId>
155 <artifactId>slf4j-log4j12</artifactId>
161 <groupId>ch.qos.logback</groupId>
162 <artifactId>logback-classic</artifactId>
163 <version>1.1.3</version>
166 <groupId>org.slf4j</groupId>
167 <artifactId>slf4j-log4j12</artifactId>
173 <groupId>com.datastax.cassandra</groupId>
174 <artifactId>cassandra-driver-core</artifactId>
175 <version>${cassandra.version}</version>
178 <groupId>org.cassandraunit</groupId>
179 <artifactId>cassandra-unit</artifactId>
180 <version>3.3.0.1</version>
183 <groupId>org.apache.zookeeper</groupId>
184 <artifactId>zookeeper</artifactId>
185 <version>${zookeeper.version}</version>
188 <groupId>com.sun.jersey</groupId>
189 <artifactId>jersey-client</artifactId>
190 <version>${jersey1.version}</version>
193 <groupId>com.sun.jersey</groupId>
194 <artifactId>jersey-server</artifactId>
195 <version>${jersey1.version}</version>
198 <groupId>com.sun.jersey</groupId>
199 <artifactId>jersey-json</artifactId>
200 <version>${jersey1.version}</version>
203 <groupId>javax.servlet</groupId>
204 <artifactId>servlet-api</artifactId>
205 <version>2.4</version>
206 <scope>provided</scope>
209 <groupId>org.apache.maven</groupId>
210 <artifactId>maven-model</artifactId>
211 <version>3.3.9</version>
214 <groupId>org.apache.commons</groupId>
215 <artifactId>commons-jcs-core</artifactId>
216 <version>2.2</version>
220 <groupId>javax.servlet</groupId>
221 <artifactId>javax.servlet-api</artifactId>
222 <version>3.0.1</version>
223 <scope>provided</scope>
226 <groupId>commons-codec</groupId>
227 <artifactId>commons-codec</artifactId>
228 <version>1.11</version>
233 <groupId>junit</groupId>
234 <artifactId>junit</artifactId>
235 <version>4.12</version>
240 <groupId>org.mockito</groupId>
241 <artifactId>mockito-all</artifactId>
242 <version>1.9.0</version>
247 <groupId>io.swagger</groupId>
248 <artifactId>swagger-jersey-jaxrs</artifactId>
249 <version>1.5.0</version>
253 <groupId>com.google.guava</groupId>
254 <artifactId>guava</artifactId>
255 <version>19.0</version>
259 <groupId>com.att.eelf</groupId>
260 <artifactId>eelf-core</artifactId>
261 <version>1.0.0</version>
268 <groupId>org.apache.maven.plugins</groupId>
269 <artifactId>maven-javadoc-plugin</artifactId>
270 <version>2.10.3</version>
272 <author>true</author>
273 <breakiterator>true</breakiterator>
274 <version>true</version>
276 <link>https://docs.oracle.com/javase/7/docs/api/</link>
277 <link>https://tomcat.apache.org/tomcat-7.0-doc/jspapi/</link>
278 <link>http://docs.oracle.com/javaee/7/api/</link>
291 <groupId>io.fabric8</groupId>
292 <artifactId>docker-maven-plugin</artifactId>
293 <version>0.19.1</version>
295 <verbose>true</verbose>
296 <apiVersion>1.23</apiVersion>
297 <registry>nexus3.onap.org:10003</registry>
302 <alias>docker_music</alias>
304 <cleanup>true</cleanup>
306 <tag>${docker.tag}</tag>
307 <tag>${docker.latest.tag}</tag>
309 <dockerFileDir>${project.basedir}</dockerFileDir>
311 <descriptorRef>artifact</descriptorRef>
319 <id>clean-images</id>
320 <phase>pre-clean</phase>
325 <removeAll>true</removeAll>
330 <id>generate-images</id>
331 <phase>package</phase>
338 <phase>deploy</phase>