ae2bf31c50a7089a211a1e8a5496525fbb1336d0
[aai/esr-server.git] / pom.xml
1 <?xml version="1.0"?>
2 <!--
3
4     Copyright 2016 ZTE Corporation.
5
6     Licensed under the Apache License, Version 2.0 (the "License");
7     you may not use this file except in compliance with the License.
8     You may obtain a copy of the License at
9
10         http://www.apache.org/licenses/LICENSE-2.0
11
12     Unless required by applicable law or agreed to in writing, software
13     distributed under the License is distributed on an "AS IS" BASIS,
14     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15     See the License for the specific language governing permissions and
16     limitations under the License.
17
18 -->
19 <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">
20     <modelVersion>4.0.0</modelVersion>
21     <parent>
22         <groupId>org.onap.oparent</groupId>
23         <artifactId>oparent</artifactId>
24         <version>1.1.0</version>
25     </parent>
26         
27         <groupId>org.onap.aai.esr-server</groupId>
28     <artifactId>aai-esr-server</artifactId>
29     <packaging>pom</packaging>
30
31     <version>1.1.0-SNAPSHOT</version>
32     <name>aai-esr-server</name>
33     <modules>
34         <module>esr-mgr</module>
35                 <module>standalone</module>
36     </modules>
37         
38         <properties>
39         <dropwizard.version>1.2.2</dropwizard.version>
40         <swagger.version>1.5.3</swagger.version>
41         <jersey.version>2.16</jersey.version>
42         <jaxrs.consumer.version>5.0</jaxrs.consumer.version>
43         <gson.version>2.2.4</gson.version>
44         <junit.version>4.10</junit.version>
45         <org.apache.ant.version>1.9.4</org.apache.ant.version>
46     </properties>
47
48     <dependencyManagement>
49         <dependencies>
50             <dependency>
51                 <groupId>io.dropwizard</groupId>
52                 <artifactId>dropwizard-core</artifactId>
53                 <version>${dropwizard.version}</version>
54             </dependency>
55             <dependency>
56                 <groupId>io.dropwizard</groupId>
57                 <artifactId>dropwizard-assets</artifactId>
58                 <version>${dropwizard.version}</version>
59             </dependency>
60             <dependency>
61                 <groupId>io.dropwizard</groupId>
62                 <artifactId>dropwizard-hibernate</artifactId>
63                 <version>${dropwizard.version}</version>
64             </dependency>
65             <dependency>
66                 <groupId>io.swagger</groupId>
67                 <artifactId>swagger-jersey2-jaxrs</artifactId>
68                 <version>${swagger.version}</version>
69             </dependency>
70                         <dependency>
71                                 <groupId>org.hibernate</groupId>
72                                 <artifactId>hibernate-validator</artifactId>
73                                 <version>5.4.2.Final</version>
74                         </dependency>
75                         <dependency>
76                                 <groupId>com.fasterxml.jackson.core</groupId>
77                                 <artifactId>jackson-databind</artifactId>
78                                 <version>2.9.5</version>
79                         </dependency>
80             <!-- jersey -->
81             <dependency>
82                 <groupId>org.glassfish.jersey.core</groupId>
83                 <artifactId>jersey-server</artifactId>
84                 <version>${jersey.version}</version>
85             </dependency>
86             <dependency>
87                 <groupId>org.glassfish.jersey.media</groupId>
88                 <artifactId>jersey-media-multipart</artifactId>
89                 <version>${jersey.version}</version>
90             </dependency>
91             <dependency>
92                 <groupId>org.glassfish.jersey.containers</groupId>
93                 <artifactId>jersey-container-servlet-core</artifactId>
94                 <version>${jersey.version}</version>
95             </dependency>
96             <!-- consumer -->
97             <dependency>
98                 <groupId>com.eclipsesource.jaxrs</groupId>
99                 <artifactId>consumer</artifactId>
100                 <version>${jaxrs.consumer.version}</version>
101             </dependency>
102             <!-- gson -->
103             <dependency>
104                 <groupId>com.google.code.gson</groupId>
105                 <artifactId>gson</artifactId>
106                 <version>${gson.version}</version>
107             </dependency> 
108             <!-- UT -->
109             <dependency>  
110                 <groupId>junit</groupId>  
111                 <artifactId>junit</artifactId>  
112                 <version>${junit.version}</version>
113             </dependency> 
114             <dependency>
115                 <groupId>org.apache.ant</groupId>
116                 <artifactId>ant</artifactId>
117                 <version>${org.apache.ant.version}</version>
118             </dependency>
119             <!-- UT end -->
120         </dependencies>
121     </dependencyManagement>
122     <build>
123         <pluginManagement>
124             <plugins>
125                 <plugin>
126                     <groupId>org.eclipse.m2e</groupId>
127                     <artifactId>lifecycle-mapping</artifactId>
128                     <version>1.0.0</version>
129                 </plugin>
130                 <plugin>
131                     <groupId>org.apache.maven.plugins</groupId>
132                     <artifactId>maven-compiler-plugin</artifactId>
133                     <version>3.3</version>
134                     <configuration>
135                         <verbose>true</verbose>
136                         <fork>true</fork>
137                         <compilerVersion>1.7</compilerVersion>
138                         <source>1.7</source>
139                         <target>1.7</target>
140                         <encoding>UTF-8</encoding>
141                         <debug>true</debug>
142                     </configuration>
143                 </plugin>
144                 <plugin>
145                     <groupId>org.apache.maven.plugins</groupId>
146                     <artifactId>maven-jar-plugin</artifactId>
147                     <version>2.6</version>
148                     <configuration>
149                         <archive>
150                             <addMavenDescriptor>false</addMavenDescriptor>
151                         </archive>
152                         <forceCreation>true</forceCreation>
153                     </configuration>
154                 </plugin>
155                 <plugin>
156                     <groupId>org.apache.maven.plugins</groupId>
157                     <artifactId>maven-shade-plugin</artifactId>
158                     <version>2.4</version>
159                 </plugin>
160                 <plugin>
161                     <groupId>org.apache.maven.plugins</groupId>
162                     <artifactId>maven-dependency-plugin</artifactId>
163                     <version>2.10</version>          
164                 </plugin>
165                 <plugin>
166                     <groupId>org.apache.maven.plugins</groupId>
167                     <artifactId>maven-resources-plugin</artifactId>
168                     <version>2.7</version>
169                     <configuration>
170                         <encoding>UTF-8</encoding>
171                         <nonFilteredFileExtensions>
172                             <nonFilteredFileExtension>pdf</nonFilteredFileExtension>
173                             <nonFilteredFileExtension>swf</nonFilteredFileExtension>
174                             <nonFilteredFileExtension>exe</nonFilteredFileExtension>
175                             <nonFilteredFileExtension>png</nonFilteredFileExtension>
176                             <nonFilteredFileExtension>gif</nonFilteredFileExtension>
177                             <nonFilteredFileExtension>jpg</nonFilteredFileExtension>
178                             <nonFilteredFileExtension>jpeg</nonFilteredFileExtension>
179                             <nonFilteredFileExtension>bmp</nonFilteredFileExtension>
180                             <nonFilteredFileExtension>eot</nonFilteredFileExtension>
181                             <nonFilteredFileExtension>ttf</nonFilteredFileExtension>
182                             <nonFilteredFileExtension>svg</nonFilteredFileExtension>
183                             <nonFilteredFileExtension>woff</nonFilteredFileExtension>
184                             <nonFilteredFileExtension>woff2</nonFilteredFileExtension>
185                             <nonFilteredFileExtension>mso</nonFilteredFileExtension>
186                             <nonFilteredFileExtension>wmz</nonFilteredFileExtension>
187                             <nonFilteredFileExtension>emz</nonFilteredFileExtension>
188                             <nonFilteredFileExtension>otf</nonFilteredFileExtension>
189                         </nonFilteredFileExtensions>
190                     </configuration>
191                 </plugin>
192                 <plugin>
193                     <groupId>org.codehaus.mojo</groupId>
194                     <artifactId>build-helper-maven-plugin</artifactId>
195                     <version>1.10</version>
196                 </plugin>
197                 <plugin>
198                     <groupId>com.mycila</groupId>
199                     <artifactId>license-maven-plugin</artifactId>
200                     <version>3.0.rc1</version>
201                 </plugin>
202                 <plugin>
203                     <artifactId>maven-antrun-plugin</artifactId>
204                     <version>1.8</version>
205                 </plugin>
206             </plugins>
207         </pluginManagement>
208     </build>   
209 </project>