1 <?xml version="1.0" encoding="UTF-8"?>
3 ============LICENSE_START==========================================
5 ===================================================================
6 Copyright (c) 2017 AT&T Intellectual Property
7 ===================================================================
8 Modifications Copyright (c) 2019 IBM.
9 ===================================================================
10 Licensed under the Apache License, Version 2.0 (the "License");
11 you may not use this file except in compliance with the License.
12 You may obtain a copy of the License at
14 http://www.apache.org/licenses/LICENSE-2.0
16 Unless required by applicable law or agreed to in writing, software
17 distributed under the License is distributed on an "AS IS" BASIS,
18 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 See the License for the specific language governing permissions and
20 limitations under the License.
22 ============LICENSE_END=============================================
23 ====================================================================
25 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
26 <modelVersion>4.0.0</modelVersion>
27 <groupId>org.onap.music</groupId>
28 <artifactId>MUSIC-core</artifactId>
29 <packaging>jar</packaging>
30 <version>3.2.37-SNAPSHOT</version>
32 This is the MUSIC core interface, packaged as a jar file.
34 <name>music-core</name>
37 <groupId>org.onap.music</groupId>
38 <artifactId>MUSIC</artifactId>
39 <version>3.2.37-SNAPSHOT</version>
43 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
44 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
45 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
46 <java.version>1.8</java.version>
47 <jaxrs.version>2.0.1</jaxrs.version>
48 <cassandra.version>3.6.0</cassandra.version>
51 <nexusproxy>https://nexus.onap.org</nexusproxy>
52 <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
53 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
54 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
55 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
56 <sitePath>/content/sites/site/org/onap/music/${project.version}</sitePath>
60 <timestamp>${maven.build.timestamp}</timestamp>
61 <maven.build.timestamp.format>yyyy.MM.dd.HH.mm</maven.build.timestamp.format>
63 <!--skip checkstyle -->
65 <maven.check.skip>false</maven.check.skip>
69 <docker.tag>${project.version}-${timestamp}</docker.tag>
70 <docker.latest.tag>${project.version}-latest</docker.latest.tag>
71 <maven.compiler.source>1.8</maven.compiler.source>
72 <maven.compiler.target>1.8</maven.compiler.target>
78 <id>onap-releases</id>
79 <name>ONAP - Release Repository</name>
80 <url>${nexusproxy}/${releaseNexusPath}</url>
84 <name>ONAP - Staging Repository</name>
85 <url>${nexusproxy}/${stagingNexusPath}</url>
88 <id>onap-snapshots</id>
89 <name>ONAP - Snapshot Repository</name>
90 <url>${nexusproxy}/${snapshotNexusPath}</url>
94 <name>ONAP public Repository</name>
95 <url>${nexusproxy}/content/groups/public</url>
100 <finalName>${project.artifactId}</finalName>
101 <sourceDirectory>src/main/java</sourceDirectory>
102 <outputDirectory>src/main/webapp/WEB-INF/classes</outputDirectory>
103 <testSourceDirectory>src/test/java</testSourceDirectory>
104 <testOutputDirectory>target/test-classes</testOutputDirectory>
105 <defaultGoal>validate</defaultGoal>
108 <directory>src/main/resources</directory>
109 <filtering>true</filtering>
111 <include>**/*.properties</include>
112 <include>**/*.xml</include>
113 <include>**/*.ccf</include>
119 <directory>${project.basedir}/src/test/resources</directory>
122 <directory>${project.basedir}/src/main/resources</directory>
128 <artifactId>maven-war-plugin</artifactId>
129 <version>2.4</version>
131 <warSourceDirectory>WebContent</warSourceDirectory>
132 <failOnMissingWebXml>false</failOnMissingWebXml>
137 <groupId>org.apache.maven.plugins</groupId>
138 <artifactId>maven-checkstyle-plugin</artifactId>
140 <skip>${maven.check.skip}</skip>
145 <groupId>org.apache.maven.plugins</groupId>
146 <artifactId>maven-jar-plugin</artifactId>
147 <version>2.4</version>
151 <phase>compile</phase>
157 <!--<exclude>**/*.xml</exclude>
158 <exclude>**/*.properties</exclude>-->
159 <exclude>**/Sample*</exclude>
166 <groupId>org.apache.maven.plugins</groupId>
167 <artifactId>maven-install-plugin</artifactId>
168 <version>2.4</version>
172 <phase>install</phase>
174 <goal>install-file</goal>
177 <packaging>jar</packaging>
178 <artifactId>${project.artifactId}</artifactId>
179 <groupId>${project.groupId}</groupId>
180 <version>${project.version}</version>
181 <file>${project.build.directory}/${project.artifactId}.jar</file>
192 <groupId>javax.servlet</groupId>
193 <artifactId>servlet-api</artifactId>
194 <version>2.4</version>
195 <scope>provided</scope>
198 <groupId>javax.servlet</groupId>
199 <artifactId>javax.servlet-api</artifactId>
200 <version>3.0.1</version>
201 <scope>provided</scope>
203 <!-- /Development -->
206 <groupId>ch.qos.logback</groupId>
207 <artifactId>logback-core</artifactId>
208 <version>1.2.3</version>
211 <groupId>org.slf4j</groupId>
212 <artifactId>slf4j-log4j12</artifactId>
217 <groupId>ch.qos.logback</groupId>
218 <artifactId>logback-classic</artifactId>
219 <version>1.2.3</version>
222 <groupId>org.slf4j</groupId>
223 <artifactId>slf4j-log4j12</artifactId>
228 <groupId>com.att.eelf</groupId>
229 <artifactId>eelf-core</artifactId>
230 <version>1.0.1-oss</version>
233 <groupId>org.powermock</groupId>
234 <artifactId>powermock-api-mockito</artifactId>
237 <groupId>org.powermock</groupId>
238 <artifactId>powermock-module-junit4</artifactId>
245 <groupId>io.dropwizard.metrics</groupId>
246 <artifactId>metrics-core</artifactId>
247 <version>4.1.0-rc3</version>
250 <groupId>com.datastax.cassandra</groupId>
251 <artifactId>cassandra-driver-core</artifactId>
252 <version>${cassandra.version}</version>
255 <groupId>com.datastax.cassandra</groupId>
256 <artifactId>cassandra-driver-extras</artifactId>
257 <version>${cassandra.version}</version>
258 </dependency> <!-- /Cassandra -->
260 <groupId>org.apache.commons</groupId>
261 <artifactId>commons-jcs-core</artifactId>
262 <version>2.2</version>
265 <groupId>commons-codec</groupId>
266 <artifactId>commons-codec</artifactId>
267 <version>1.11</version>
270 <groupId>org.apache.commons</groupId>
271 <artifactId>commons-lang3</artifactId>
272 <version>3.8</version>
277 <groupId>junit</groupId>
278 <artifactId>junit</artifactId>
279 <version>4.12</version>
283 <groupId>org.cassandraunit</groupId>
284 <artifactId>cassandra-unit-spring</artifactId>
285 <version>3.5.0.1</version>
289 <groupId>org.slf4j</groupId>
290 <artifactId>slf4j-log4j12</artifactId>
293 <groupId>ch.qos.logback</groupId>
294 <artifactId>logback-core</artifactId>
297 <groupId>ch.qos.logback</groupId>
298 <artifactId>logback-classic</artifactId>
301 <groupId>org.cassandraunit</groupId>
302 <artifactId>cassandra-unit</artifactId>
305 <groupId>io.dropwizard.metrics</groupId>
306 <artifactId>metrics-core</artifactId>
309 <groupId>com.addthis.metrics</groupId>
310 <artifactId>reporter-config-base</artifactId>
315 <groupId>org.cassandraunit</groupId>
316 <artifactId>cassandra-unit-shaded</artifactId>
317 <version>3.5.0.1</version>
321 <groupId>org.mockito</groupId>
322 <artifactId>mockito-core</artifactId>
323 <version>2.23.4</version>
328 <!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.datatype/jackson-datatype-jsr310 -->
330 <groupId>com.fasterxml.jackson.datatype</groupId>
331 <artifactId>jackson-datatype-jsr310</artifactId>
332 <version>2.9.9</version>
335 <groupId>com.fasterxml.jackson.core</groupId>
336 <artifactId>jackson-databind</artifactId>
337 <version>2.9.9.2</version>
340 <groupId>com.fasterxml.jackson.core</groupId>
341 <artifactId>jackson-core</artifactId>
342 <version>2.9.9</version>
345 <groupId>com.fasterxml.jackson.core</groupId>
346 <artifactId>jackson-annotations</artifactId>
347 <version>2.9.9</version>
350 <groupId>org.apache.httpcomponents</groupId>
351 <artifactId>httpclient</artifactId>
354 <groupId>io.swagger</groupId>
355 <artifactId>swagger-jersey-jaxrs</artifactId>
356 <version>1.5.22</version>
359 <groupId>com.google.guava</groupId>
360 <artifactId>guava</artifactId>
363 <groupId>de.svenkubiak</groupId>
364 <artifactId>jBCrypt</artifactId>
365 <version>0.4.1</version>
368 <groupId>io.netty</groupId>
369 <artifactId>netty-handler</artifactId>
370 <version>4.1.33.Final</version>
373 <groupId>io.netty</groupId>
374 <artifactId>netty-buffer</artifactId>
375 <version>4.1.33.Final</version>
378 <groupId>io.netty</groupId>
379 <artifactId>netty-codec</artifactId>
380 <version>4.1.33.Final</version>
383 <groupId>io.netty</groupId>
384 <artifactId>netty-common</artifactId>
385 <version>4.1.33.Final</version>
388 <groupId>io.netty</groupId>
389 <artifactId>netty-resolver</artifactId>
390 <version>4.1.33.Final</version>
393 <groupId>io.netty</groupId>
394 <artifactId>netty-transport</artifactId>
395 <version>4.1.33.Final</version>
398 <groupId>org.onap.aaf.authz</groupId>
399 <artifactId>aaf-cadi-aaf</artifactId>
400 <version>2.1.7</version>
403 <groupId>log4j</groupId>
404 <artifactId>log4j</artifactId>
409 <groupId>org.onap.aaf.authz</groupId>
410 <artifactId>aaf-cadi-client</artifactId>
411 <version>2.1.7</version>
414 <groupId>org.onap.aaf.authz</groupId>
415 <artifactId>aaf-cadi-core</artifactId>
416 <version>2.1.7</version>
419 <groupId>com.google.code.gson</groupId>
420 <artifactId>gson</artifactId>
421 <version>2.8.5</version>
428 <groupId>org.apache.maven.plugins</groupId>
429 <artifactId>maven-javadoc-plugin</artifactId>
430 <version>2.10.3</version>
432 <author>true</author>
433 <breakiterator>true</breakiterator>
434 <version>true</version>
436 <link>https://docs.oracle.com/javase/7/docs/api/</link>
437 <link>https://tomcat.apache.org/tomcat-7.0-doc/jspapi/</link>
438 <link>http://docs.oracle.com/javaee/7/api/</link>
443 <groupId>org.apache.maven.plugins</groupId>
444 <artifactId>maven-compiler-plugin</artifactId>
459 <groupId>io.fabric8</groupId>
460 <artifactId>docker-maven-plugin</artifactId>
461 <version>0.19.1</version>
463 <verbose>true</verbose>
464 <apiVersion>1.23</apiVersion>
465 <registry>nexus3.onap.org:10003</registry>
469 <name>onap/music/music_sb</name>
470 <alias>docker_music</alias>
472 <cleanup>true</cleanup>
474 <tag>${docker.tag}</tag>
475 <tag>${docker.latest.tag}</tag>
477 <dockerFileDir>${project.basedir}/distribution/music</dockerFileDir>
479 <descriptorRef>artifact</descriptorRef>
485 <name>onap/music/cassandra_3_11</name>
486 <alias>docker_cassandra_sec</alias>
488 <cleanup>true</cleanup>
490 <tag>${docker.tag}</tag>
491 <tag>${docker.latest.tag}</tag>
493 <dockerFileDir>${project.basedir}/distribution/cassandra</dockerFileDir>
496 <!-- Cassandra Job -->
498 <name>onap/music/cassandra_job</name>
499 <alias>docker_cassandra_job</alias>
501 <cleanup>true</cleanup>
503 <tag>${docker.tag}</tag>
504 <tag>${docker.latest.tag}</tag>
506 <dockerFileDir>${project.basedir}/distribution/cassandra_job</dockerFileDir>
510 <!-- <image> <name>onap/music/tomcat_music</name>
511 <alias>docker_tomcat</alias> <build> <cleanup>true</cleanup> <tags> <tag>8.5-${timestamp}</tag>
512 <tag>8.5-latest</tag> </tags> <dockerFileDir>${project.basedir}/distribution/tomcat</dockerFileDir>
513 </build> </image>\ -->
518 <id>clean-images</id>
519 <phase>pre-clean</phase>
524 <removeAll>true</removeAll>
529 <id>generate-images</id>
530 <phase>package</phase>
537 <phase>deploy</phase>
542 <image>onap/music/music</image>
554 <distributionManagement>
556 <id>ecomp-releases</id>
557 <name>Release Repository</name>
558 <url>${nexusproxy}/${releaseNexusPath}</url>
561 <id>ecomp-snapshots</id>
562 <name>Snapshot Repository</name>
563 <url>${nexusproxy}/${snapshotNexusPath}</url>
564 </snapshotRepository>
565 <!-- added for javadoc -->
568 <url>dav:${nexusproxy}${sitePath}</url>
570 </distributionManagement>