Merge "JUNITS for JSONDELETE class"
[music.git] / 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</artifactId>
29     <packaging>pom</packaging>
30     <version>3.2.40-SNAPSHOT</version>
31     <description>
32             This is the MUSIC project.
33     </description>
34
35     <parent>
36         <groupId>org.onap.oparent</groupId>
37         <artifactId>oparent</artifactId>
38         <version>2.0.0</version>
39         <relativePath/>
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         <!--nexus -->
48         <nexusproxy>https://nexus.onap.org</nexusproxy>
49         <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
50         <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
51         <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
52         <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
53         <sitePath>/content/sites/site/org/onap/music/${project.version}</sitePath>
54         <!--maven -->
55         <timestamp>${maven.build.timestamp}</timestamp>
56         <maven.build.timestamp.format>yyyy.MM.dd.HH.mm</maven.build.timestamp.format>
57         <!--skip checkstyle -->
58         <maven.check.skip>false</maven.check.skip>
59         <!--docker -->
60         <docker.tag>${project.version}-${timestamp}</docker.tag>
61         <docker.latest.tag>${project.version}-latest</docker.latest.tag>
62         <maven.compiler.source>1.8</maven.compiler.source>
63         <maven.compiler.target>1.8</maven.compiler.target>
64         <!-- Default Sonar configuration -->
65         <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml,${project.reporting.outputDirectory}/jacoco-it/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
66     </properties>
67
68     <dependencies>
69         <!-- Development -->
70         <dependency>
71             <groupId>javax.servlet</groupId>
72             <artifactId>javax.servlet-api</artifactId>
73             <version>4.0.1</version>
74             <scope>provided</scope>
75         </dependency>
76         <!-- Springboot -->
77     </dependencies>
78
79
80     <repositories>
81         <repository>
82             <id>onap-releases</id>
83             <name>ONAP - Release Repository</name>
84             <url>${nexusproxy}/${releaseNexusPath}</url>
85         </repository>
86         <repository>
87             <id>onap-staging</id>
88             <name>ONAP - Staging Repository</name>
89             <url>${nexusproxy}/${stagingNexusPath}</url>
90         </repository>
91         <repository>
92             <id>onap-snapshots</id>
93             <name>ONAP - Snapshot Repository</name>
94             <url>${nexusproxy}/${snapshotNexusPath}</url>
95         </repository>
96         <repository>
97             <id>onap-public</id>
98             <name>ONAP public Repository</name>
99             <url>${nexusproxy}/content/groups/public</url>
100         </repository>
101     </repositories>
102
103     <reporting>
104         <plugins>
105             <plugin>
106                 <groupId>org.apache.maven.plugins</groupId>
107                 <artifactId>maven-javadoc-plugin</artifactId>
108                 <version>2.10.3</version>
109                 <configuration>
110                     <author>true</author>
111                     <breakiterator>true</breakiterator>
112                     <version>true</version>
113                     <links>
114                         <link>https://docs.oracle.com/javase/7/docs/api/</link>
115                         <link>https://tomcat.apache.org/tomcat-7.0-doc/jspapi/</link>
116                         <link>http://docs.oracle.com/javaee/7/api/</link>
117                     </links>
118                 </configuration>
119             </plugin>
120             <plugin>
121                 <groupId>org.apache.maven.plugins</groupId>
122                 <artifactId>maven-compiler-plugin</artifactId>
123                 <configuration>
124                     <source>1.8</source>
125                     <target>1.8</target>
126                 </configuration>
127             </plugin>
128         </plugins>
129     </reporting>
130
131     <distributionManagement>
132         <repository>
133             <id>ecomp-releases</id>
134             <name>Release Repository</name>
135             <url>${nexusproxy}/${releaseNexusPath}</url>
136         </repository>
137         <snapshotRepository>
138             <id>ecomp-snapshots</id>
139             <name>Snapshot Repository</name>
140             <url>${nexusproxy}/${snapshotNexusPath}</url>
141         </snapshotRepository>
142         <!-- added for javadoc -->
143         <site>
144             <id>ecomp-site</id>
145             <url>dav:${nexusproxy}${sitePath}</url>
146         </site>
147     </distributionManagement>
148     <modules>
149         <module>music-core</module>
150         <module>music-rest</module>
151     </modules>
152 </project>