2e44a02f5f5848497cfb5576a24e8d90ba5045f6
[music.git] / pom.xml
1 <!-- 
2  ============LICENSE_START==========================================
3  org.onap.music
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
10  
11      http://www.apache.org/licenses/LICENSE-2.0
12  
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.
18  
19  ============LICENSE_END=============================================
20  ====================================================================
21 -->
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>
29         <description>
30                 This is the MUSIC REST interface, packaged as a war file.
31           </description>
32         <properties>
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
40                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
41         </properties>
42
43         <repositories>
44                 <repository>
45                         <id>maven2-repository.java.net</id>
46                         <name>Java.net Repository for Maven</name>
47                         <url>http://download.java.net/maven/2/</url>
48                         <layout>default</layout>
49                 </repository>
50         </repositories>
51         <build>
52                 <finalName>MUSIC</finalName>
53                 <sourceDirectory>src/main/java</sourceDirectory>
54                 <outputDirectory>src/main/webapp/WEB-INF/classes</outputDirectory>
55                 <testSourceDirectory>src/test/java</testSourceDirectory>
56                 <testOutputDirectory>target/test-classes</testOutputDirectory>
57                 <defaultGoal>validate</defaultGoal>
58                 <resources>
59                         <resource>
60                                 <directory>src/main/resources</directory>
61                                 <filtering>true</filtering>
62                         </resource>
63                 </resources>
64                 <plugins>
65                         <plugin>
66                                 <artifactId>maven-eclipse-plugin</artifactId>
67                                 <version>2.9</version>
68                                 <configuration>
69                                         <additionalProjectnatures>
70                                                 <projectnature>org.springframework.ide.eclipse.core.springnature</projectnature>
71                                         </additionalProjectnatures>
72                                         <additionalBuildcommands>
73                                                 <buildcommand>org.springframework.ide.eclipse.core.springbuilder</buildcommand>
74                                         </additionalBuildcommands>
75                                         <downloadSources>true</downloadSources>
76                                         <downloadJavadocs>true</downloadJavadocs>
77                                 </configuration>
78                         </plugin>
79
80                         <plugin>
81                                 <groupId>org.apache.maven.plugins</groupId>
82                                 <artifactId>maven-compiler-plugin</artifactId>
83                                 <version>3.5.1</version>
84                                 <configuration>
85                                         <source>1.7</source>
86                                         <target>1.7</target>
87                                 </configuration>
88                         </plugin>
89                         <plugin>
90                                 <artifactId>maven-war-plugin</artifactId>
91                                 <version>2.4</version>
92                                 <configuration>
93                                         <warSourceDirectory>WebContent</warSourceDirectory>
94                                 </configuration>
95                         </plugin>
96                         <plugin>
97                                 <groupId>org.apache.maven.plugins</groupId>
98                                 <artifactId>maven-jar-plugin</artifactId>
99                                 <version>2.4</version>
100                                 <executions>
101                                         <execution>
102                                                 <id>make-a-jar</id>
103                                                 <phase>compile</phase>
104                                                 <goals>
105                                                         <goal>jar</goal>
106                                                 </goals>
107                                                 <configuration>
108                                                         <excludes>
109                                                                 <exclude>**/*.xml</exclude>
110                                                                 <exclude>**/*.properties</exclude>
111                                                                 <exclude>**/Sample*</exclude>
112                                                         </excludes>
113                                                 </configuration>
114                                         </execution>
115                                 </executions>
116                         </plugin>
117
118                         <plugin>
119                                 <groupId>org.apache.maven.plugins</groupId>
120                                 <artifactId>maven-install-plugin</artifactId>
121                                 <version>2.4</version>
122                                 <executions>
123                                         <execution>
124                                                 <phase>install</phase>
125                                                 <goals>
126                                                         <goal>install-file</goal>
127                                                 </goals>
128                                                 <configuration>
129                                                         <packaging>jar</packaging>
130                                                         <artifactId>${project.artifactId}</artifactId>
131                                                         <groupId>${project.groupId}</groupId>
132                                                         <version>${project.version}</version>
133                                                         <file>${project.build.directory}/${project.artifactId}.jar</file>
134                                                 </configuration>
135                                         </execution>
136                                 </executions>
137                         </plugin>
138                 </plugins>
139         </build>
140
141         <dependencies>
142                   
143                 <dependency>
144                         <groupId>ch.qos.logback</groupId>
145                         <artifactId>logback-core</artifactId>
146                         <version>1.1.3</version>
147
148                         <exclusions>
149                                 <exclusion>
150                                         <groupId>org.slf4j</groupId>
151                                         <artifactId>slf4j-log4j12</artifactId>
152                                 </exclusion>
153                         </exclusions>
154                 </dependency>
155
156                 <dependency>
157                         <groupId>ch.qos.logback</groupId>
158                         <artifactId>logback-classic</artifactId>
159                         <version>1.1.3</version>
160                         <exclusions>
161                                 <exclusion>
162                                         <groupId>org.slf4j</groupId>
163                                         <artifactId>slf4j-log4j12</artifactId>
164                                 </exclusion>
165                         </exclusions>
166                 </dependency>
167
168                 <dependency>
169                         <groupId>com.datastax.cassandra</groupId>
170                         <artifactId>cassandra-driver-core</artifactId>
171                         <version>${cassandra.version}</version>
172                 </dependency>
173                  <dependency> 
174                         <groupId>org.cassandraunit</groupId> 
175                         <artifactId>cassandra-unit</artifactId> 
176                             <version>3.3.0.1</version> 
177                 </dependency> 
178                 <dependency>
179                         <groupId>org.apache.zookeeper</groupId>
180                         <artifactId>zookeeper</artifactId>
181                         <version>${zookeeper.version}</version>
182                 </dependency>
183                 <dependency>
184                         <groupId>com.sun.jersey</groupId>
185                         <artifactId>jersey-client</artifactId>
186                         <version>${jersey1.version}</version>
187                 </dependency>
188                 <dependency>
189                         <groupId>com.sun.jersey</groupId>
190                         <artifactId>jersey-server</artifactId>
191                         <version>${jersey1.version}</version>
192                 </dependency>
193                 <dependency>
194                         <groupId>com.sun.jersey</groupId>
195                         <artifactId>jersey-json</artifactId>
196                         <version>${jersey1.version}</version>
197                 </dependency>
198                 <dependency>
199                         <groupId>javax.servlet</groupId>
200                         <artifactId>servlet-api</artifactId>
201                         <version>2.4</version>
202                         <scope>provided</scope>
203                 </dependency>
204                 <dependency>
205                         <groupId>org.apache.maven</groupId>
206                         <artifactId>maven-model</artifactId>
207                         <version>3.3.9</version>
208                 </dependency>
209                 <dependency>
210                         <groupId>org.apache.commons</groupId>
211                         <artifactId>commons-jcs-core</artifactId>
212                         <version>2.2</version>
213                 </dependency>
214
215                 <dependency>
216                     <groupId>javax.servlet</groupId>
217                     <artifactId>javax.servlet-api</artifactId>
218                     <version>3.0.1</version>
219                     <scope>provided</scope>
220                 </dependency>
221                 <dependency>
222                     <groupId>commons-codec</groupId>
223                     <artifactId>commons-codec</artifactId>
224                     <version>1.11</version>
225                 </dependency>
226
227
228                 <dependency>
229                         <groupId>junit</groupId>
230                         <artifactId>junit</artifactId>
231                         <version>4.12</version>
232                         <scope>test</scope>
233                 </dependency>
234
235                 <dependency>
236                         <groupId>org.mockito</groupId>
237                         <artifactId>mockito-all</artifactId>
238                         <version>1.9.0</version>
239                 </dependency>
240
241
242                 <dependency>
243                         <groupId>io.swagger</groupId>
244                         <artifactId>swagger-jersey-jaxrs</artifactId>
245                         <version>1.5.0</version>
246                 </dependency>
247                 
248     <dependency>
249             <groupId>com.google.guava</groupId>
250             <artifactId>guava</artifactId>
251             <version>19.0</version>
252         </dependency>
253
254     <dependency>
255         <groupId>com.att.eelf</groupId>
256         <artifactId>eelf-core</artifactId>
257         <version>1.0.0</version>
258     </dependency>
259         </dependencies>
260
261         <reporting>
262                 <plugins>
263                         <plugin>
264                                 <groupId>org.apache.maven.plugins</groupId>
265                                 <artifactId>maven-javadoc-plugin</artifactId>
266                                 <version>2.10.3</version>
267                                 <configuration>
268                                         <author>true</author>
269                                         <breakiterator>true</breakiterator>
270                                         <version>true</version>
271                                         <links>
272                                                 <link>https://docs.oracle.com/javase/7/docs/api/</link>
273                                                 <link>https://tomcat.apache.org/tomcat-7.0-doc/jspapi/</link>
274                                                 <link>http://docs.oracle.com/javaee/7/api/</link>
275                                         </links>
276                                 </configuration>
277                         </plugin>
278                 </plugins>
279         </reporting>
280
281 </project>