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>
143 <groupId>io.fabric8</groupId>
144 <artifactId>docker-maven-plugin</artifactId>
145 <version>0.15.1</version>
151 <alias>docker_music</alias>
153 <cleanup>true</cleanup>
155 <tag>${docker.tag}</tag>
156 <tag>${docker.latest.tag}</tag>
158 <dockerFileDir>${project.basedir}</dockerFileDir>
160 <descriptorRef>artifact</descriptorRef>
168 <id>clean-images</id>
169 <phase>pre-clean</phase>
174 <removeAll>true</removeAll>
179 <id>generate-images</id>
180 <phase>package</phase>
187 <phase>deploy</phase>
204 <groupId>ch.qos.logback</groupId>
205 <artifactId>logback-core</artifactId>
206 <version>1.1.3</version>
210 <groupId>org.slf4j</groupId>
211 <artifactId>slf4j-log4j12</artifactId>
217 <groupId>ch.qos.logback</groupId>
218 <artifactId>logback-classic</artifactId>
219 <version>1.1.3</version>
222 <groupId>org.slf4j</groupId>
223 <artifactId>slf4j-log4j12</artifactId>
229 <groupId>com.datastax.cassandra</groupId>
230 <artifactId>cassandra-driver-core</artifactId>
231 <version>${cassandra.version}</version>
234 <groupId>org.cassandraunit</groupId>
235 <artifactId>cassandra-unit</artifactId>
236 <version>3.3.0.1</version>
239 <groupId>org.apache.zookeeper</groupId>
240 <artifactId>zookeeper</artifactId>
241 <version>${zookeeper.version}</version>
244 <groupId>com.sun.jersey</groupId>
245 <artifactId>jersey-client</artifactId>
246 <version>${jersey1.version}</version>
249 <groupId>com.sun.jersey</groupId>
250 <artifactId>jersey-server</artifactId>
251 <version>${jersey1.version}</version>
254 <groupId>com.sun.jersey</groupId>
255 <artifactId>jersey-json</artifactId>
256 <version>${jersey1.version}</version>
259 <groupId>javax.servlet</groupId>
260 <artifactId>servlet-api</artifactId>
261 <version>2.4</version>
262 <scope>provided</scope>
265 <groupId>org.apache.maven</groupId>
266 <artifactId>maven-model</artifactId>
267 <version>3.3.9</version>
270 <groupId>org.apache.commons</groupId>
271 <artifactId>commons-jcs-core</artifactId>
272 <version>2.2</version>
276 <groupId>javax.servlet</groupId>
277 <artifactId>javax.servlet-api</artifactId>
278 <version>3.0.1</version>
279 <scope>provided</scope>
282 <groupId>commons-codec</groupId>
283 <artifactId>commons-codec</artifactId>
284 <version>1.11</version>
289 <groupId>junit</groupId>
290 <artifactId>junit</artifactId>
291 <version>4.12</version>
296 <groupId>org.mockito</groupId>
297 <artifactId>mockito-all</artifactId>
298 <version>1.9.0</version>
303 <groupId>io.swagger</groupId>
304 <artifactId>swagger-jersey-jaxrs</artifactId>
305 <version>1.5.0</version>
309 <groupId>com.google.guava</groupId>
310 <artifactId>guava</artifactId>
311 <version>19.0</version>
315 <groupId>com.att.eelf</groupId>
316 <artifactId>eelf-core</artifactId>
317 <version>1.0.0</version>
324 <groupId>org.apache.maven.plugins</groupId>
325 <artifactId>maven-javadoc-plugin</artifactId>
326 <version>2.10.3</version>
328 <author>true</author>
329 <breakiterator>true</breakiterator>
330 <version>true</version>
332 <link>https://docs.oracle.com/javase/7/docs/api/</link>
333 <link>https://tomcat.apache.org/tomcat-7.0-doc/jspapi/</link>
334 <link>http://docs.oracle.com/javaee/7/api/</link>