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>
42 <nexusproxy>https://nexus.onap.org</nexusproxy>
43 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
44 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
45 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
46 <sitePath>/content/sites/site/org/openecomp/music/${project.version}</sitePath>
48 <sonar.language>java</sonar.language>
49 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
50 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
51 <sonar.jacoco.reportPath>${project.build.directory}/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>
52 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
53 <sonar.projectVersion>${project.version}</sonar.projectVersion>
58 <id>maven2-repository.java.net</id>
59 <name>Java.net Repository for Maven</name>
60 <url>http://download.java.net/maven/2/</url>
61 <layout>default</layout>
64 <id>ecomp-snapshots</id>
65 <name>Snapshot Repository</name>
66 <url>${nexusproxy}/${snapshotNexusPath}</url>
69 <id>ecomp-staging</id>
70 <name>Staging Repository</name>
71 <url>${nexusproxy}/${stagingNexusPath}</url>
74 <distributionManagement>
76 <id>ecomp-releases</id>
77 <name>Release Repository</name>
78 <url>${nexusproxy}/${releaseNexusPath}</url>
81 <id>ecomp-snapshots</id>
82 <name>Snapshot Repository</name>
83 <url>${nexusproxy}/${snapshotNexusPath}</url>
85 <!-- added for javadoc -->
88 <url>dav:${nexusproxy}${sitePath}</url>
90 </distributionManagement>
92 <finalName>MUSIC</finalName>
93 <sourceDirectory>src/main/java</sourceDirectory>
94 <outputDirectory>src/main/webapp/WEB-INF/classes</outputDirectory>
95 <testSourceDirectory>src/test/java</testSourceDirectory>
96 <testOutputDirectory>target/test-classes</testOutputDirectory>
97 <defaultGoal>validate</defaultGoal>
100 <directory>src/main/resources</directory>
101 <filtering>true</filtering>
106 <groupId>org.sonatype.plugins</groupId>
107 <artifactId>nexus-staging-maven-plugin</artifactId>
108 <version>1.6.7</version>
109 <extensions>true</extensions>
111 <nexusUrl>${nexusproxy}</nexusUrl>
112 <stagingProfileId>176c31dfe190a</stagingProfileId>
113 <serverId>ecomp-staging</serverId>
117 <groupId>org.apache.maven.plugins</groupId>
118 <artifactId>maven-site-plugin</artifactId>
119 <version>3.6</version>
122 <groupId>org.apache.maven.wagon</groupId>
123 <artifactId>wagon-webdav-jackrabbit</artifactId>
124 <version>2.10</version>
129 <artifactId>maven-eclipse-plugin</artifactId>
130 <version>2.9</version>
132 <additionalProjectnatures>
133 <projectnature>org.springframework.ide.eclipse.core.springnature</projectnature>
134 </additionalProjectnatures>
135 <additionalBuildcommands>
136 <buildcommand>org.springframework.ide.eclipse.core.springbuilder</buildcommand>
137 </additionalBuildcommands>
138 <downloadSources>true</downloadSources>
139 <downloadJavadocs>true</downloadJavadocs>
143 <groupId>org.apache.maven.plugins</groupId>
144 <artifactId>maven-compiler-plugin</artifactId>
145 <version>3.5.1</version>
152 <artifactId>maven-war-plugin</artifactId>
153 <version>2.4</version>
155 <warSourceDirectory>WebContent</warSourceDirectory>
159 <groupId>org.apache.maven.plugins</groupId>
160 <artifactId>maven-jar-plugin</artifactId>
161 <version>2.4</version>
165 <phase>compile</phase>
171 <exclude>**/*.xml</exclude>
172 <exclude>**/*.properties</exclude>
173 <exclude>**/Sample*</exclude>
181 <groupId>org.apache.maven.plugins</groupId>
182 <artifactId>maven-install-plugin</artifactId>
183 <version>2.4</version>
186 <phase>install</phase>
188 <goal>install-file</goal>
191 <packaging>jar</packaging>
192 <artifactId>${project.artifactId}</artifactId>
193 <groupId>${project.groupId}</groupId>
194 <version>${project.version}</version>
195 <file>${project.build.directory}/${project.artifactId}.jar</file>
200 <!-- Sonar Plugin for Sonar Scans -->
202 <groupId>org.codehaus.mojo</groupId>
203 <artifactId>sonar-maven-plugin</artifactId>
204 <version>3.2</version>
207 <groupId>org.jacoco</groupId>
208 <artifactId>jacoco-maven-plugin</artifactId>
209 <version>0.7.7.201606060606</version>
211 <dumpOnExit>true</dumpOnExit>
213 <include>org.openecomp.*</include>
218 <id>jacoco-initialize-unit-tests</id>
220 <goal>prepare-agent</goal>
223 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
224 <!-- <append>true</append> -->
229 <!-- Maven surefire plugin for testing -->
231 <artifactId>maven-surefire-plugin</artifactId>
232 <version>2.17</version>
240 <groupId>ch.qos.logback</groupId>
241 <artifactId>logback-core</artifactId>
242 <version>1.1.3</version>
246 <groupId>org.slf4j</groupId>
247 <artifactId>slf4j-log4j12</artifactId>
253 <groupId>ch.qos.logback</groupId>
254 <artifactId>logback-classic</artifactId>
255 <version>1.1.3</version>
258 <groupId>org.slf4j</groupId>
259 <artifactId>slf4j-log4j12</artifactId>
265 <groupId>com.datastax.cassandra</groupId>
266 <artifactId>cassandra-driver-core</artifactId>
267 <version>${cassandra.version}</version>
270 <groupId>org.cassandraunit</groupId>
271 <artifactId>cassandra-unit</artifactId>
272 <version>3.3.0.1</version>
275 <groupId>org.apache.zookeeper</groupId>
276 <artifactId>zookeeper</artifactId>
277 <version>${zookeeper.version}</version>
280 <groupId>com.sun.jersey</groupId>
281 <artifactId>jersey-client</artifactId>
282 <version>${jersey1.version}</version>
285 <groupId>com.sun.jersey</groupId>
286 <artifactId>jersey-server</artifactId>
287 <version>${jersey1.version}</version>
290 <groupId>com.sun.jersey</groupId>
291 <artifactId>jersey-json</artifactId>
292 <version>${jersey1.version}</version>
295 <groupId>javax.servlet</groupId>
296 <artifactId>servlet-api</artifactId>
297 <version>2.4</version>
298 <scope>provided</scope>
301 <groupId>org.apache.maven</groupId>
302 <artifactId>maven-model</artifactId>
303 <version>3.3.9</version>
306 <groupId>org.apache.commons</groupId>
307 <artifactId>commons-jcs-core</artifactId>
308 <version>2.2</version>
312 <groupId>javax.servlet</groupId>
313 <artifactId>javax.servlet-api</artifactId>
314 <version>3.0.1</version>
315 <scope>provided</scope>
318 <groupId>commons-codec</groupId>
319 <artifactId>commons-codec</artifactId>
320 <version>1.11</version>
325 <groupId>junit</groupId>
326 <artifactId>junit</artifactId>
327 <version>4.12</version>
332 <groupId>org.mockito</groupId>
333 <artifactId>mockito-all</artifactId>
334 <version>1.9.0</version>
339 <groupId>io.swagger</groupId>
340 <artifactId>swagger-jersey-jaxrs</artifactId>
341 <version>1.5.0</version>
344 <groupId>com.google.guava</groupId>
345 <artifactId>guava</artifactId>
346 <version>19.0</version>
350 <groupId>com.att.eelf</groupId>
351 <artifactId>eelf-core</artifactId>
352 <version>1.0.0</version>
359 <groupId>org.apache.maven.plugins</groupId>
360 <artifactId>maven-javadoc-plugin</artifactId>
361 <version>2.10.3</version>
363 <author>true</author>
364 <breakiterator>true</breakiterator>
365 <version>true</version>
367 <link>https://docs.oracle.com/javase/7/docs/api/</link>
368 <link>https://tomcat.apache.org/tomcat-7.0-doc/jspapi/</link>
369 <link>http://docs.oracle.com/javaee/7/api/</link>