Fix Broken Docker Builds
[music.git] / music-core / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3  ============LICENSE_START==========================================
4  org.onap.music
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
13
14      http://www.apache.org/licenses/LICENSE-2.0
15
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.
21
22  ============LICENSE_END=============================================
23  ====================================================================
24 -->
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>
31     <description>
32             This is the MUSIC core interface, packaged as a jar file.
33     </description>
34     <name>music-core</name>
35
36     <parent>
37         <groupId>org.onap.music</groupId>
38         <artifactId>MUSIC</artifactId>
39         <version>3.2.37-SNAPSHOT</version>
40     </parent>
41
42     <properties>
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>
49         <!--nexus -->
50 <!--
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>
57 -->
58         <!--maven -->
59 <!--
60         <timestamp>${maven.build.timestamp}</timestamp>
61         <maven.build.timestamp.format>yyyy.MM.dd.HH.mm</maven.build.timestamp.format>
62 -->
63         <!--skip checkstyle -->
64 <!--
65         <maven.check.skip>false</maven.check.skip>
66 -->
67         <!--docker -->
68 <!--
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>
73 -->
74     </properties>
75
76     <repositories>
77         <repository>
78             <id>onap-releases</id>
79             <name>ONAP - Release Repository</name>
80             <url>${nexusproxy}/${releaseNexusPath}</url>
81         </repository>
82         <repository>
83             <id>onap-staging</id>
84             <name>ONAP - Staging Repository</name>
85             <url>${nexusproxy}/${stagingNexusPath}</url>
86         </repository>
87         <repository>
88             <id>onap-snapshots</id>
89             <name>ONAP - Snapshot Repository</name>
90             <url>${nexusproxy}/${snapshotNexusPath}</url>
91         </repository>
92         <repository>
93             <id>onap-public</id>
94             <name>ONAP public Repository</name>
95             <url>${nexusproxy}/content/groups/public</url>
96         </repository>
97     </repositories>
98
99     <build>
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>
106         <resources>
107             <resource>
108                 <directory>src/main/resources</directory>
109                 <filtering>true</filtering>
110                 <includes>
111                 <include>**/*.properties</include>
112                 <include>**/*.xml</include>
113                 <include>**/*.ccf</include>
114                 </includes>
115             </resource>
116         </resources>
117         <testResources>
118             <testResource>
119                 <directory>${project.basedir}/src/test/resources</directory>
120             </testResource>
121             <!-- <testResource>
122                 <directory>${project.basedir}/src/main/resources</directory>
123             </testResource> -->
124         </testResources>
125         <plugins>
126 <!--
127             <plugin>
128                 <artifactId>maven-war-plugin</artifactId>
129                 <version>2.4</version>
130                 <configuration>
131                     <warSourceDirectory>WebContent</warSourceDirectory>
132                     <failOnMissingWebXml>false</failOnMissingWebXml>
133                 </configuration>
134             </plugin>
135 -->
136             <plugin>
137                 <groupId>org.apache.maven.plugins</groupId>
138                 <artifactId>maven-checkstyle-plugin</artifactId>
139                 <configuration>
140                     <skip>${maven.check.skip}</skip>
141                 </configuration>
142             </plugin>
143
144             <plugin>
145                 <groupId>org.apache.maven.plugins</groupId>
146                 <artifactId>maven-jar-plugin</artifactId>
147                 <version>2.4</version>
148                 <executions>
149                     <execution>
150                         <id>make-a-jar</id>
151                         <phase>compile</phase>
152                         <goals>
153                             <goal>jar</goal>
154                         </goals>
155                         <configuration>
156                             <excludes>
157                                 <!--<exclude>**/*.xml</exclude>
158                                 <exclude>**/*.properties</exclude>-->
159                                 <exclude>**/Sample*</exclude>
160                             </excludes>
161                         </configuration>
162                     </execution>
163                 </executions>
164             </plugin>
165             <plugin>
166                 <groupId>org.apache.maven.plugins</groupId>
167                 <artifactId>maven-install-plugin</artifactId>
168                 <version>2.4</version>
169                 <executions>
170                     <execution>
171                         <id>core</id>
172                         <phase>install</phase>
173                         <goals>
174                             <goal>install-file</goal>
175                         </goals>
176                         <configuration>
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>
182                         </configuration>
183                     </execution>
184                 </executions>
185             </plugin>
186         </plugins>
187     </build>
188
189     <dependencies>
190         <!-- Development -->
191         <dependency>
192             <groupId>javax.servlet</groupId>
193             <artifactId>servlet-api</artifactId>
194             <version>2.4</version>
195             <scope>provided</scope>
196         </dependency>
197         <dependency>
198             <groupId>javax.servlet</groupId>
199             <artifactId>javax.servlet-api</artifactId>
200             <version>3.0.1</version>
201             <scope>provided</scope>
202         </dependency>
203         <!-- /Development -->
204         <!-- Logging -->
205         <dependency>
206             <groupId>ch.qos.logback</groupId>
207             <artifactId>logback-core</artifactId>
208             <version>1.2.3</version>
209             <exclusions>
210                 <exclusion>
211                     <groupId>org.slf4j</groupId>
212                     <artifactId>slf4j-log4j12</artifactId>
213                 </exclusion>
214             </exclusions>
215         </dependency>
216         <dependency>
217             <groupId>ch.qos.logback</groupId>
218             <artifactId>logback-classic</artifactId>
219             <version>1.2.3</version>
220             <exclusions>
221                 <exclusion>
222                     <groupId>org.slf4j</groupId>
223                     <artifactId>slf4j-log4j12</artifactId>
224                 </exclusion>
225             </exclusions>
226         </dependency>
227         <dependency>
228             <groupId>com.att.eelf</groupId>
229             <artifactId>eelf-core</artifactId>
230             <version>1.0.1-oss</version>
231             <exclusions>
232                 <exclusion>
233                     <groupId>org.powermock</groupId>
234                     <artifactId>powermock-api-mockito</artifactId>
235                 </exclusion>
236                 <exclusion>
237                     <groupId>org.powermock</groupId>
238                     <artifactId>powermock-module-junit4</artifactId>
239                 </exclusion>
240             </exclusions>
241         </dependency>
242         <!-- End Logging -->
243         <!-- Cassandra -->
244         <dependency>
245             <groupId>io.dropwizard.metrics</groupId>
246             <artifactId>metrics-core</artifactId>
247             <version>4.1.0-rc3</version>
248         </dependency>
249         <dependency>
250             <groupId>com.datastax.cassandra</groupId>
251             <artifactId>cassandra-driver-core</artifactId>
252             <version>${cassandra.version}</version>
253         </dependency>
254         <dependency>
255             <groupId>com.datastax.cassandra</groupId>
256             <artifactId>cassandra-driver-extras</artifactId>
257             <version>${cassandra.version}</version>
258         </dependency>        <!-- /Cassandra -->
259         <dependency>
260             <groupId>org.apache.commons</groupId>
261             <artifactId>commons-jcs-core</artifactId>
262             <version>2.2</version>
263         </dependency>
264         <dependency>
265             <groupId>commons-codec</groupId>
266             <artifactId>commons-codec</artifactId>
267             <version>1.11</version>
268         </dependency>
269         <dependency>
270             <groupId>org.apache.commons</groupId>
271             <artifactId>commons-lang3</artifactId>
272             <version>3.8</version>
273         </dependency>
274
275         <!-- Testing -->
276         <dependency>
277             <groupId>junit</groupId>
278             <artifactId>junit</artifactId>
279             <version>4.12</version>
280             <scope>test</scope>
281         </dependency>
282         <dependency>
283             <groupId>org.cassandraunit</groupId>
284             <artifactId>cassandra-unit-spring</artifactId>
285             <version>3.5.0.1</version>
286             <scope>test</scope>
287             <exclusions>
288                 <exclusion>
289                     <groupId>org.slf4j</groupId>
290                     <artifactId>slf4j-log4j12</artifactId>
291                 </exclusion>
292                 <exclusion>
293                     <groupId>ch.qos.logback</groupId>
294                     <artifactId>logback-core</artifactId>
295                 </exclusion>
296                 <exclusion>
297                     <groupId>ch.qos.logback</groupId>
298                     <artifactId>logback-classic</artifactId>
299                 </exclusion>
300                 <exclusion>
301                     <groupId>org.cassandraunit</groupId>
302                     <artifactId>cassandra-unit</artifactId>
303                 </exclusion>
304                 <exclusion>
305                     <groupId>io.dropwizard.metrics</groupId>
306                     <artifactId>metrics-core</artifactId>
307                 </exclusion>
308                 <exclusion>
309                     <groupId>com.addthis.metrics</groupId>
310                     <artifactId>reporter-config-base</artifactId>
311                 </exclusion>
312             </exclusions>
313         </dependency>
314         <dependency>
315             <groupId>org.cassandraunit</groupId>
316             <artifactId>cassandra-unit-shaded</artifactId>
317             <version>3.5.0.1</version>
318             <scope>test</scope>
319         </dependency>
320         <dependency>
321             <groupId>org.mockito</groupId>
322             <artifactId>mockito-core</artifactId>
323             <version>2.23.4</version>
324             <scope>test</scope>
325         </dependency>
326         <!--  /Testing -->
327
328         <!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.datatype/jackson-datatype-jsr310 -->
329         <dependency>
330             <groupId>com.fasterxml.jackson.datatype</groupId>
331             <artifactId>jackson-datatype-jsr310</artifactId>
332             <version>2.9.9</version>
333         </dependency>
334         <dependency>
335             <groupId>com.fasterxml.jackson.core</groupId>
336             <artifactId>jackson-databind</artifactId>
337             <version>2.9.9.2</version>
338         </dependency>
339         <dependency>
340             <groupId>com.fasterxml.jackson.core</groupId>
341             <artifactId>jackson-core</artifactId>
342             <version>2.9.9</version>
343         </dependency>
344         <dependency>
345             <groupId>com.fasterxml.jackson.core</groupId>
346             <artifactId>jackson-annotations</artifactId>
347             <version>2.9.9</version>
348         </dependency>
349         <dependency>
350             <groupId>org.apache.httpcomponents</groupId>
351             <artifactId>httpclient</artifactId>
352         </dependency>
353         <dependency>
354             <groupId>io.swagger</groupId>
355             <artifactId>swagger-jersey-jaxrs</artifactId>
356             <version>1.5.22</version>
357         </dependency>
358         <dependency>
359             <groupId>com.google.guava</groupId>
360             <artifactId>guava</artifactId>
361         </dependency>
362         <dependency>
363             <groupId>de.svenkubiak</groupId>
364             <artifactId>jBCrypt</artifactId>
365             <version>0.4.1</version>
366         </dependency>
367         <dependency>
368             <groupId>io.netty</groupId>
369             <artifactId>netty-handler</artifactId>
370             <version>4.1.33.Final</version>
371         </dependency>
372         <dependency>
373             <groupId>io.netty</groupId>
374             <artifactId>netty-buffer</artifactId>
375             <version>4.1.33.Final</version>
376         </dependency>
377         <dependency>
378             <groupId>io.netty</groupId>
379             <artifactId>netty-codec</artifactId>
380             <version>4.1.33.Final</version>
381         </dependency>
382         <dependency>
383             <groupId>io.netty</groupId>
384             <artifactId>netty-common</artifactId>
385             <version>4.1.33.Final</version>
386         </dependency>
387         <dependency>
388             <groupId>io.netty</groupId>
389             <artifactId>netty-resolver</artifactId>
390             <version>4.1.33.Final</version>
391         </dependency>
392         <dependency>
393             <groupId>io.netty</groupId>
394             <artifactId>netty-transport</artifactId>
395             <version>4.1.33.Final</version>
396         </dependency>
397         <dependency>
398             <groupId>org.onap.aaf.authz</groupId>
399             <artifactId>aaf-cadi-aaf</artifactId>
400             <version>2.1.7</version>
401             <exclusions>
402                 <exclusion>
403                     <groupId>log4j</groupId>
404                     <artifactId>log4j</artifactId>
405                 </exclusion>
406             </exclusions>
407         </dependency>
408         <dependency>
409             <groupId>org.onap.aaf.authz</groupId>
410             <artifactId>aaf-cadi-client</artifactId>
411             <version>2.1.7</version>
412         </dependency>
413         <dependency>
414             <groupId>org.onap.aaf.authz</groupId>
415             <artifactId>aaf-cadi-core</artifactId>
416             <version>2.1.7</version>
417         </dependency>
418         <dependency>
419             <groupId>com.google.code.gson</groupId>
420             <artifactId>gson</artifactId>
421             <version>2.8.5</version>
422         </dependency>
423     </dependencies>
424
425     <reporting>
426         <plugins>
427             <plugin>
428                 <groupId>org.apache.maven.plugins</groupId>
429                 <artifactId>maven-javadoc-plugin</artifactId>
430                 <version>2.10.3</version>
431                 <configuration>
432                     <author>true</author>
433                     <breakiterator>true</breakiterator>
434                     <version>true</version>
435                     <links>
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>
439                     </links>
440                 </configuration>
441             </plugin>
442             <plugin>
443                 <groupId>org.apache.maven.plugins</groupId>
444                 <artifactId>maven-compiler-plugin</artifactId>
445                 <configuration>
446                     <source>1.8</source>
447                     <target>1.8</target>
448                 </configuration>
449             </plugin>
450         </plugins>
451     </reporting>
452
453     <distributionManagement>
454         <repository>
455             <id>ecomp-releases</id>
456             <name>Release Repository</name>
457             <url>${nexusproxy}/${releaseNexusPath}</url>
458         </repository>
459         <snapshotRepository>
460             <id>ecomp-snapshots</id>
461             <name>Snapshot Repository</name>
462             <url>${nexusproxy}/${snapshotNexusPath}</url>
463         </snapshotRepository>
464         <!-- added for javadoc -->
465         <site>
466             <id>ecomp-site</id>
467             <url>dav:${nexusproxy}${sitePath}</url>
468         </site>
469     </distributionManagement>
470 </project>