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>
39 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
40 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
41 <nexusproxy>https://nexus.onap.org</nexusproxy>
42 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
43 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
44 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
45 <sitePath>/content/sites/site/org/openecomp/music/${project.version}</sitePath>
49 <id>maven2-repository.java.net</id>
50 <name>Java.net Repository for Maven</name>
51 <url>http://download.java.net/maven/2/</url>
52 <layout>default</layout>
55 <id>ecomp-snapshots</id>
56 <name>Snapshot Repository</name>
57 <url>${nexusproxy}/${snapshotNexusPath}</url>
60 <id>ecomp-staging</id>
61 <name>Staging Repository</name>
62 <url>${nexusproxy}/${stagingNexusPath}</url>
65 <distributionManagement>
67 <id>ecomp-releases</id>
68 <name>Release Repository</name>
69 <url>${nexusproxy}/${releaseNexusPath}</url>
72 <id>ecomp-snapshots</id>
73 <name>Snapshot Repository</name>
74 <url>${nexusproxy}/${snapshotNexusPath}</url>
76 <!-- added for javadoc -->
79 <url>dav:${nexusproxy}${sitePath}</url>
81 </distributionManagement>
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 <groupId>org.sonatype.plugins</groupId>
98 <artifactId>nexus-staging-maven-plugin</artifactId>
99 <version>1.6.7</version>
100 <extensions>true</extensions>
102 <nexusUrl>${nexusproxy}</nexusUrl>
103 <stagingProfileId>176c31dfe190a</stagingProfileId>
104 <serverId>ecomp-staging</serverId>
108 <groupId>org.apache.maven.plugins</groupId>
109 <artifactId>maven-site-plugin</artifactId>
110 <version>3.6</version>
113 <groupId>org.apache.maven.wagon</groupId>
114 <artifactId>wagon-webdav-jackrabbit</artifactId>
115 <version>2.10</version>
120 <artifactId>maven-eclipse-plugin</artifactId>
121 <version>2.9</version>
123 <additionalProjectnatures>
124 <projectnature>org.springframework.ide.eclipse.core.springnature</projectnature>
125 </additionalProjectnatures>
126 <additionalBuildcommands>
127 <buildcommand>org.springframework.ide.eclipse.core.springbuilder</buildcommand>
128 </additionalBuildcommands>
129 <downloadSources>true</downloadSources>
130 <downloadJavadocs>true</downloadJavadocs>
134 <groupId>org.apache.maven.plugins</groupId>
135 <artifactId>maven-compiler-plugin</artifactId>
136 <version>3.5.1</version>
143 <artifactId>maven-war-plugin</artifactId>
144 <version>2.4</version>
146 <warSourceDirectory>WebContent</warSourceDirectory>
150 <groupId>org.apache.maven.plugins</groupId>
151 <artifactId>maven-jar-plugin</artifactId>
152 <version>2.4</version>
156 <phase>compile</phase>
162 <exclude>**/*.xml</exclude>
163 <exclude>**/*.properties</exclude>
164 <exclude>**/Sample*</exclude>
172 <groupId>org.apache.maven.plugins</groupId>
173 <artifactId>maven-install-plugin</artifactId>
174 <version>2.4</version>
177 <phase>install</phase>
179 <goal>install-file</goal>
182 <packaging>jar</packaging>
183 <artifactId>${project.artifactId}</artifactId>
184 <groupId>${project.groupId}</groupId>
185 <version>${project.version}</version>
186 <file>${project.build.directory}/${project.artifactId}.jar</file>
191 <!-- Sonar Plugin for Sonar Scans -->
193 <groupId>org.codehaus.mojo</groupId>
194 <artifactId>sonar-maven-plugin</artifactId>
195 <version>3.2</version>
203 <groupId>ch.qos.logback</groupId>
204 <artifactId>logback-core</artifactId>
205 <version>1.1.3</version>
209 <groupId>org.slf4j</groupId>
210 <artifactId>slf4j-log4j12</artifactId>
216 <groupId>ch.qos.logback</groupId>
217 <artifactId>logback-classic</artifactId>
218 <version>1.1.3</version>
221 <groupId>org.slf4j</groupId>
222 <artifactId>slf4j-log4j12</artifactId>
228 <groupId>com.datastax.cassandra</groupId>
229 <artifactId>cassandra-driver-core</artifactId>
230 <version>${cassandra.version}</version>
233 <groupId>org.cassandraunit</groupId>
234 <artifactId>cassandra-unit</artifactId>
235 <version>3.3.0.1</version>
238 <groupId>org.apache.zookeeper</groupId>
239 <artifactId>zookeeper</artifactId>
240 <version>${zookeeper.version}</version>
243 <groupId>com.sun.jersey</groupId>
244 <artifactId>jersey-client</artifactId>
245 <version>${jersey1.version}</version>
248 <groupId>com.sun.jersey</groupId>
249 <artifactId>jersey-server</artifactId>
250 <version>${jersey1.version}</version>
253 <groupId>com.sun.jersey</groupId>
254 <artifactId>jersey-json</artifactId>
255 <version>${jersey1.version}</version>
258 <groupId>javax.servlet</groupId>
259 <artifactId>servlet-api</artifactId>
260 <version>2.4</version>
261 <scope>provided</scope>
264 <groupId>org.apache.maven</groupId>
265 <artifactId>maven-model</artifactId>
266 <version>3.3.9</version>
269 <groupId>org.apache.commons</groupId>
270 <artifactId>commons-jcs-core</artifactId>
271 <version>2.2</version>
275 <groupId>javax.servlet</groupId>
276 <artifactId>javax.servlet-api</artifactId>
277 <version>3.0.1</version>
278 <scope>provided</scope>
281 <groupId>commons-codec</groupId>
282 <artifactId>commons-codec</artifactId>
283 <version>1.11</version>
288 <groupId>junit</groupId>
289 <artifactId>junit</artifactId>
290 <version>4.12</version>
295 <groupId>org.mockito</groupId>
296 <artifactId>mockito-all</artifactId>
297 <version>1.9.0</version>
302 <groupId>io.swagger</groupId>
303 <artifactId>swagger-jersey-jaxrs</artifactId>
304 <version>1.5.0</version>
307 <groupId>com.google.guava</groupId>
308 <artifactId>guava</artifactId>
309 <version>19.0</version>
313 <groupId>com.att.eelf</groupId>
314 <artifactId>eelf-core</artifactId>
315 <version>1.0.0</version>
322 <groupId>org.apache.maven.plugins</groupId>
323 <artifactId>maven-javadoc-plugin</artifactId>
324 <version>2.10.3</version>
326 <author>true</author>
327 <breakiterator>true</breakiterator>
328 <version>true</version>
330 <link>https://docs.oracle.com/javase/7/docs/api/</link>
331 <link>https://tomcat.apache.org/tomcat-7.0-doc/jspapi/</link>
332 <link>http://docs.oracle.com/javaee/7/api/</link>