a45e98c6d6f729aa393383c7262a35e815ec1d81
[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     </properties>
50
51     <repositories>
52         <repository>
53             <id>onap-releases</id>
54             <name>ONAP - Release Repository</name>
55             <url>${nexusproxy}/${releaseNexusPath}</url>
56         </repository>
57         <repository>
58             <id>onap-staging</id>
59             <name>ONAP - Staging Repository</name>
60             <url>${nexusproxy}/${stagingNexusPath}</url>
61         </repository>
62         <repository>
63             <id>onap-snapshots</id>
64             <name>ONAP - Snapshot Repository</name>
65             <url>${nexusproxy}/${snapshotNexusPath}</url>
66         </repository>
67         <repository>
68             <id>onap-public</id>
69             <name>ONAP public Repository</name>
70             <url>${nexusproxy}/content/groups/public</url>
71         </repository>
72     </repositories>
73
74     <build>
75         <finalName>${project.artifactId}</finalName>
76         <sourceDirectory>src/main/java</sourceDirectory>
77         <outputDirectory>src/main/webapp/WEB-INF/classes</outputDirectory>
78         <testSourceDirectory>src/test/java</testSourceDirectory>
79         <testOutputDirectory>target/test-classes</testOutputDirectory>
80         <defaultGoal>validate</defaultGoal>
81         <resources>
82             <resource>
83                 <directory>src/main/resources</directory>
84                 <filtering>true</filtering>
85                 <includes>
86                 <include>**/*.properties</include>
87                 <include>**/*.xml</include>
88                 <include>**/*.ccf</include>
89                 </includes>
90             </resource>
91         </resources>
92         <testResources>
93             <testResource>
94                 <directory>${project.basedir}/src/test/resources</directory>
95             </testResource>
96         </testResources>
97         <plugins>
98             <plugin>
99                 <groupId>org.apache.maven.plugins</groupId>
100                 <artifactId>maven-checkstyle-plugin</artifactId>
101                 <configuration>
102                     <skip>${maven.check.skip}</skip>
103                 </configuration>
104             </plugin>
105
106             <plugin>
107                 <groupId>org.apache.maven.plugins</groupId>
108                 <artifactId>maven-jar-plugin</artifactId>
109                 <version>2.4</version>
110                 <executions>
111                     <execution>
112                         <id>make-a-jar</id>
113                         <phase>compile</phase>
114                         <goals>
115                             <goal>jar</goal>
116                         </goals>
117                         <configuration>
118                             <excludes>
119                                 <exclude>**/Sample*</exclude>
120                             </excludes>
121                         </configuration>
122                     </execution>
123                 </executions>
124             </plugin>
125             <plugin>
126                 <groupId>org.apache.maven.plugins</groupId>
127                 <artifactId>maven-install-plugin</artifactId>
128                 <version>2.4</version>
129                 <executions>
130                     <execution>
131                         <id>core</id>
132                         <phase>install</phase>
133                         <goals>
134                             <goal>install-file</goal>
135                         </goals>
136                         <configuration>
137                             <packaging>jar</packaging>
138                             <artifactId>${project.artifactId}</artifactId>
139                             <groupId>${project.groupId}</groupId>
140                             <version>${project.version}</version>
141                             <file>${project.build.directory}/${project.artifactId}.jar</file>
142                         </configuration>
143                     </execution>
144                 </executions>
145             </plugin>
146         </plugins>
147     </build>
148
149     <dependencies>
150         <!-- Logging -->
151         <dependency>
152             <groupId>ch.qos.logback</groupId>
153             <artifactId>logback-core</artifactId>
154             <version>1.2.3</version>
155             <exclusions>
156                 <exclusion>
157                     <groupId>org.slf4j</groupId>
158                     <artifactId>slf4j-log4j12</artifactId>
159                 </exclusion>
160             </exclusions>
161         </dependency>
162         <dependency>
163             <groupId>ch.qos.logback</groupId>
164             <artifactId>logback-classic</artifactId>
165             <version>1.2.3</version>
166             <exclusions>
167                 <exclusion>
168                     <groupId>org.slf4j</groupId>
169                     <artifactId>slf4j-log4j12</artifactId>
170                 </exclusion>
171             </exclusions>
172         </dependency>
173         <dependency>
174             <groupId>com.att.eelf</groupId>
175             <artifactId>eelf-core</artifactId>
176             <version>1.0.1-oss</version>
177             <exclusions>
178                 <exclusion>
179                     <groupId>org.powermock</groupId>
180                     <artifactId>powermock-api-mockito</artifactId>
181                 </exclusion>
182                 <exclusion>
183                     <groupId>org.powermock</groupId>
184                     <artifactId>powermock-module-junit4</artifactId>
185                 </exclusion>
186             </exclusions>
187         </dependency>
188         <!-- End Logging -->
189         <!-- Cassandra -->
190         <dependency>
191             <groupId>io.dropwizard.metrics</groupId>
192             <artifactId>metrics-core</artifactId>
193             <version>4.1.0-rc3</version>
194         </dependency>
195         <dependency>
196             <groupId>com.datastax.cassandra</groupId>
197             <artifactId>cassandra-driver-core</artifactId>
198             <version>${cassandra.version}</version>
199         </dependency>
200         <dependency>
201             <groupId>com.datastax.cassandra</groupId>
202             <artifactId>cassandra-driver-extras</artifactId>
203             <version>${cassandra.version}</version>
204         </dependency>
205         <!-- /Cassandra -->
206         <dependency>
207             <groupId>org.apache.commons</groupId>
208             <artifactId>commons-jcs-core</artifactId>
209             <version>2.2</version>
210         </dependency>
211         <dependency>
212             <groupId>commons-codec</groupId>
213             <artifactId>commons-codec</artifactId>
214             <version>1.11</version>
215         </dependency>
216         <dependency>
217             <groupId>org.apache.commons</groupId>
218             <artifactId>commons-lang3</artifactId>
219             <version>3.8</version>
220         </dependency>
221
222         <!-- Testing -->
223         <dependency>
224             <groupId>junit</groupId>
225             <artifactId>junit</artifactId>
226             <version>4.12</version>
227             <scope>test</scope>
228         </dependency>
229         <dependency>
230             <groupId>org.cassandraunit</groupId>
231             <artifactId>cassandra-unit-spring</artifactId>
232             <version>3.5.0.1</version>
233             <scope>test</scope>
234             <exclusions>
235                 <exclusion>
236                     <groupId>org.slf4j</groupId>
237                     <artifactId>slf4j-log4j12</artifactId>
238                 </exclusion>
239                 <exclusion>
240                     <groupId>ch.qos.logback</groupId>
241                     <artifactId>logback-core</artifactId>
242                 </exclusion>
243                 <exclusion>
244                     <groupId>ch.qos.logback</groupId>
245                     <artifactId>logback-classic</artifactId>
246                 </exclusion>
247                 <exclusion>
248                     <groupId>org.cassandraunit</groupId>
249                     <artifactId>cassandra-unit</artifactId>
250                 </exclusion>
251                 <exclusion>
252                     <groupId>io.dropwizard.metrics</groupId>
253                     <artifactId>metrics-core</artifactId>
254                 </exclusion>
255                 <exclusion>
256                     <groupId>com.addthis.metrics</groupId>
257                     <artifactId>reporter-config-base</artifactId>
258                 </exclusion>
259             </exclusions>
260         </dependency>
261         <dependency>
262             <groupId>org.cassandraunit</groupId>
263             <artifactId>cassandra-unit-shaded</artifactId>
264             <version>3.5.0.1</version>
265             <scope>test</scope>
266         </dependency>
267         <dependency>
268             <groupId>org.mockito</groupId>
269             <artifactId>mockito-core</artifactId>
270             <version>2.23.4</version>
271             <scope>test</scope>
272         </dependency>
273         <!--  /Testing -->
274
275         <!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.datatype/jackson-datatype-jsr310 -->
276         <dependency>
277             <groupId>com.fasterxml.jackson.datatype</groupId>
278             <artifactId>jackson-datatype-jsr310</artifactId>
279             <version>2.9.9</version>
280         </dependency>
281         <dependency>
282             <groupId>com.fasterxml.jackson.core</groupId>
283             <artifactId>jackson-databind</artifactId>
284             <version>2.9.9.2</version>
285         </dependency>
286         <dependency>
287             <groupId>com.fasterxml.jackson.core</groupId>
288             <artifactId>jackson-core</artifactId>
289             <version>2.9.9</version>
290         </dependency>
291         <dependency>
292             <groupId>com.fasterxml.jackson.core</groupId>
293             <artifactId>jackson-annotations</artifactId>
294             <version>2.9.9</version>
295         </dependency>
296         <dependency>
297             <groupId>org.apache.httpcomponents</groupId>
298             <artifactId>httpclient</artifactId>
299         </dependency>
300         <dependency>
301             <groupId>io.swagger</groupId>
302             <artifactId>swagger-jersey-jaxrs</artifactId>
303             <version>1.5.22</version>
304         </dependency>
305         <dependency>
306             <groupId>com.google.guava</groupId>
307             <artifactId>guava</artifactId>
308         </dependency>
309         <dependency>
310             <groupId>de.svenkubiak</groupId>
311             <artifactId>jBCrypt</artifactId>
312             <version>0.4.1</version>
313         </dependency>
314         <dependency>
315             <groupId>io.netty</groupId>
316             <artifactId>netty-handler</artifactId>
317             <version>4.1.33.Final</version>
318         </dependency>
319         <dependency>
320             <groupId>io.netty</groupId>
321             <artifactId>netty-buffer</artifactId>
322             <version>4.1.33.Final</version>
323         </dependency>
324         <dependency>
325             <groupId>io.netty</groupId>
326             <artifactId>netty-codec</artifactId>
327             <version>4.1.33.Final</version>
328         </dependency>
329         <dependency>
330             <groupId>io.netty</groupId>
331             <artifactId>netty-common</artifactId>
332             <version>4.1.33.Final</version>
333         </dependency>
334         <dependency>
335             <groupId>io.netty</groupId>
336             <artifactId>netty-resolver</artifactId>
337             <version>4.1.33.Final</version>
338         </dependency>
339         <dependency>
340             <groupId>io.netty</groupId>
341             <artifactId>netty-transport</artifactId>
342             <version>4.1.33.Final</version>
343         </dependency>
344         <dependency>
345             <groupId>org.onap.aaf.authz</groupId>
346             <artifactId>aaf-cadi-aaf</artifactId>
347             <version>2.1.7</version>
348             <exclusions>
349                 <exclusion>
350                     <groupId>log4j</groupId>
351                     <artifactId>log4j</artifactId>
352                 </exclusion>
353             </exclusions>
354         </dependency>
355         <dependency>
356             <groupId>org.onap.aaf.authz</groupId>
357             <artifactId>aaf-cadi-client</artifactId>
358             <version>2.1.7</version>
359             <exclusions>
360                 <exclusion>
361                     <groupId>javax.servlet</groupId>
362                     <artifactId>javax.servlet-api</artifactId>
363                 </exclusion>
364             </exclusions>        
365         </dependency>
366         <dependency>
367             <groupId>org.onap.aaf.authz</groupId>
368             <artifactId>aaf-cadi-core</artifactId>
369             <version>2.1.7</version>
370             <exclusions>
371                 <exclusion>
372                     <groupId>log4j</groupId>
373                     <artifactId>log4j</artifactId>
374                 </exclusion>
375             </exclusions>
376         </dependency>
377         <dependency>
378             <groupId>com.google.code.gson</groupId>
379             <artifactId>gson</artifactId>
380             <version>2.8.5</version>
381         </dependency>
382     </dependencies>
383
384     <reporting>
385         <plugins>
386             <plugin>
387                 <groupId>org.apache.maven.plugins</groupId>
388                 <artifactId>maven-javadoc-plugin</artifactId>
389                 <version>2.10.3</version>
390                 <configuration>
391                     <author>true</author>
392                     <breakiterator>true</breakiterator>
393                     <version>true</version>
394                     <links>
395                         <link>https://docs.oracle.com/javase/7/docs/api/</link>
396                         <link>https://tomcat.apache.org/tomcat-7.0-doc/jspapi/</link>
397                         <link>http://docs.oracle.com/javaee/7/api/</link>
398                     </links>
399                 </configuration>
400             </plugin>
401             <plugin>
402                 <groupId>org.apache.maven.plugins</groupId>
403                 <artifactId>maven-compiler-plugin</artifactId>
404                 <configuration>
405                     <source>1.8</source>
406                     <target>1.8</target>
407                 </configuration>
408             </plugin>
409         </plugins>
410     </reporting>
411
412     <distributionManagement>
413         <repository>
414             <id>ecomp-releases</id>
415             <name>Release Repository</name>
416             <url>${nexusproxy}/${releaseNexusPath}</url>
417         </repository>
418         <snapshotRepository>
419             <id>ecomp-snapshots</id>
420             <name>Snapshot Repository</name>
421             <url>${nexusproxy}/${snapshotNexusPath}</url>
422         </snapshotRepository>
423         <!-- added for javadoc -->
424         <site>
425             <id>ecomp-site</id>
426             <url>dav:${nexusproxy}${sitePath}</url>
427         </site>
428     </distributionManagement>
429 </project>