065a30dd555bff18edb62852760592e118ef447d
[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.2.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.2.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.3.0</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                 <jetty.version>9.4.11.v20180605</jetty.version>
46         <org.apache.ant.version>1.9.4</org.apache.ant.version>
47     </properties>
48
49     <dependencyManagement>
50         <dependencies>
51             <dependency>
52                 <groupId>io.dropwizard</groupId>
53                 <artifactId>dropwizard-core</artifactId>
54                 <version>${dropwizard.version}</version>
55             </dependency>
56             <dependency>
57                 <groupId>io.dropwizard</groupId>
58                 <artifactId>dropwizard-assets</artifactId>
59                 <version>${dropwizard.version}</version>
60             </dependency>
61             <dependency>
62                 <groupId>io.dropwizard</groupId>
63                 <artifactId>dropwizard-hibernate</artifactId>
64                 <version>${dropwizard.version}</version>
65             </dependency>
66             <dependency>
67                 <groupId>io.swagger</groupId>
68                 <artifactId>swagger-jersey2-jaxrs</artifactId>
69                 <version>${swagger.version}</version>
70             </dependency>
71                         <dependency>
72                                 <groupId>org.hibernate</groupId>
73                                 <artifactId>hibernate-validator</artifactId>
74                                 <version>5.4.2.Final</version>
75                         </dependency>
76
77                         <!-- Jetty -->
78                         <dependency>
79                                 <groupId>org.eclipse.jetty</groupId>
80                                 <artifactId>jetty-server</artifactId>
81                                 <version>${jetty.version}</version>
82                         </dependency>
83                         <dependency>
84                                 <groupId>org.eclipse.jetty</groupId>
85                                 <artifactId>jetty-util</artifactId>
86                                 <version>${jetty.version}</version>
87                         </dependency>
88                         <dependency>
89                                 <groupId>org.eclipse.jetty</groupId>
90                                 <artifactId>jetty-webapp</artifactId>
91                                 <version>${jetty.version}</version>
92                         </dependency>
93                         <dependency>
94                                 <groupId>org.eclipse.jetty</groupId>
95                                 <artifactId>jetty-continuation</artifactId>
96                                 <version>${jetty.version}</version>
97                         </dependency>
98                         <dependency>
99                                 <groupId>org.eclipse.jetty</groupId>
100                                 <artifactId>jetty-servlet</artifactId>
101                                 <version>${jetty.version}</version>
102                         </dependency>
103                         <dependency>
104                                 <groupId>org.eclipse.jetty</groupId>
105                                 <artifactId>jetty-servlet</artifactId>
106                                 <classifier>tests</classifier>
107                                 <version>${jetty.version}</version>
108                         </dependency>
109                         <dependency>
110                                 <groupId>org.eclipse.jetty</groupId>
111                                 <artifactId>jetty-servlets</artifactId>
112                                 <version>${jetty.version}</version>
113                         </dependency>
114                         <dependency>
115                                 <groupId>org.eclipse.jetty</groupId>
116                                 <artifactId>jetty-http</artifactId>
117                                 <version>${jetty.version}</version>
118                         </dependency>
119                         <dependency>
120                                 <groupId>org.eclipse.jetty</groupId>
121                                 <artifactId>jetty-http</artifactId>
122                                 <classifier>tests</classifier>
123                                 <version>${jetty.version}</version>
124                         </dependency>
125                         <dependency>
126                                 <groupId>org.eclipse.jetty</groupId>
127                                 <artifactId>jetty-alpn-openjdk8-server</artifactId>
128                                 <version>${jetty.version}</version>
129                         </dependency>
130                         <dependency>
131                                 <groupId>org.eclipse.jetty.http2</groupId>
132                                 <artifactId>http2-server</artifactId>
133                                 <version>${jetty.version}</version>
134                         </dependency>
135                         <dependency>
136                                 <groupId>org.eclipse.jetty.http2</groupId>
137                                 <artifactId>http2-client</artifactId>
138                                 <version>${jetty.version}</version>
139                         </dependency>
140                         <dependency>
141                                 <groupId>org.eclipse.jetty</groupId>
142                                 <artifactId>jetty-client</artifactId>
143                                 <version>${jetty.version}</version>
144                         </dependency>
145                         <dependency>
146                                 <groupId>org.eclipse.jetty.http2</groupId>
147                                 <artifactId>http2-http-client-transport</artifactId>
148                                 <version>${jetty.version}</version>
149                         </dependency>
150                         <dependency>
151                                 <groupId>org.eclipse.jetty</groupId>
152                                 <artifactId>jetty-alpn-openjdk8-client</artifactId>
153                                 <version>${jetty.version}</version>
154                         </dependency>
155                         <dependency>
156                                 <groupId>org.eclipse.jetty</groupId>
157                                 <artifactId>jetty-alpn-conscrypt-server</artifactId>
158                                 <version>${jetty.version}</version>
159                         </dependency>
160                         <dependency>
161                                 <groupId>org.eclipse.jetty.toolchain.setuid</groupId>
162                                 <artifactId>jetty-setuid-java</artifactId>
163                                 <version>1.0.3</version>
164                                 <exclusions>
165                                         <exclusion>
166                                                 <groupId>org.eclipse.jetty</groupId>
167                                                 <artifactId>jetty-util</artifactId>
168                                         </exclusion>
169                                         <exclusion>
170                                                 <groupId>org.eclipse.jetty</groupId>
171                                                 <artifactId>jetty-server</artifactId>
172                                         </exclusion>
173                                 </exclusions>
174                         </dependency>
175
176             <!-- jersey -->
177             <dependency>
178                 <groupId>org.glassfish.jersey.core</groupId>
179                 <artifactId>jersey-server</artifactId>
180                 <version>${jersey.version}</version>
181             </dependency>
182             <dependency>
183                 <groupId>org.glassfish.jersey.media</groupId>
184                 <artifactId>jersey-media-multipart</artifactId>
185                 <version>${jersey.version}</version>
186             </dependency>
187             <dependency>
188                 <groupId>org.glassfish.jersey.containers</groupId>
189                 <artifactId>jersey-container-servlet-core</artifactId>
190                 <version>${jersey.version}</version>
191             </dependency>
192             <!-- consumer -->
193             <dependency>
194                 <groupId>com.eclipsesource.jaxrs</groupId>
195                 <artifactId>consumer</artifactId>
196                 <version>${jaxrs.consumer.version}</version>
197             </dependency>
198             <!-- gson -->
199             <dependency>
200                 <groupId>com.google.code.gson</groupId>
201                 <artifactId>gson</artifactId>
202                 <version>${gson.version}</version>
203             </dependency> 
204             <!-- UT -->
205             <dependency>  
206                 <groupId>junit</groupId>  
207                 <artifactId>junit</artifactId>  
208                 <version>${junit.version}</version>
209             </dependency> 
210             <dependency>
211                 <groupId>org.apache.ant</groupId>
212                 <artifactId>ant</artifactId>
213                 <version>${org.apache.ant.version}</version>
214             </dependency>
215             <!-- UT end -->
216         </dependencies>
217     </dependencyManagement>
218     <build>
219         <pluginManagement>
220             <plugins>
221                 <plugin>
222                     <groupId>org.eclipse.m2e</groupId>
223                     <artifactId>lifecycle-mapping</artifactId>
224                     <version>1.0.0</version>
225                 </plugin>
226                 <plugin>
227                     <groupId>org.apache.maven.plugins</groupId>
228                     <artifactId>maven-compiler-plugin</artifactId>
229                     <version>3.3</version>
230                     <configuration>
231                         <verbose>true</verbose>
232                         <fork>true</fork>
233                         <compilerVersion>1.7</compilerVersion>
234                         <source>1.7</source>
235                         <target>1.7</target>
236                         <encoding>UTF-8</encoding>
237                         <debug>true</debug>
238                     </configuration>
239                 </plugin>
240                 <plugin>
241                     <groupId>org.apache.maven.plugins</groupId>
242                     <artifactId>maven-jar-plugin</artifactId>
243                     <version>2.6</version>
244                     <configuration>
245                         <archive>
246                             <addMavenDescriptor>false</addMavenDescriptor>
247                         </archive>
248                         <forceCreation>true</forceCreation>
249                     </configuration>
250                 </plugin>
251                 <plugin>
252                     <groupId>org.apache.maven.plugins</groupId>
253                     <artifactId>maven-shade-plugin</artifactId>
254                     <version>2.4</version>
255                 </plugin>
256                 <plugin>
257                     <groupId>org.apache.maven.plugins</groupId>
258                     <artifactId>maven-dependency-plugin</artifactId>
259                     <version>2.10</version>          
260                 </plugin>
261                 <plugin>
262                     <groupId>org.apache.maven.plugins</groupId>
263                     <artifactId>maven-resources-plugin</artifactId>
264                     <version>2.7</version>
265                     <configuration>
266                         <encoding>UTF-8</encoding>
267                         <nonFilteredFileExtensions>
268                             <nonFilteredFileExtension>pdf</nonFilteredFileExtension>
269                             <nonFilteredFileExtension>swf</nonFilteredFileExtension>
270                             <nonFilteredFileExtension>exe</nonFilteredFileExtension>
271                             <nonFilteredFileExtension>png</nonFilteredFileExtension>
272                             <nonFilteredFileExtension>gif</nonFilteredFileExtension>
273                             <nonFilteredFileExtension>jpg</nonFilteredFileExtension>
274                             <nonFilteredFileExtension>jpeg</nonFilteredFileExtension>
275                             <nonFilteredFileExtension>bmp</nonFilteredFileExtension>
276                             <nonFilteredFileExtension>eot</nonFilteredFileExtension>
277                             <nonFilteredFileExtension>ttf</nonFilteredFileExtension>
278                             <nonFilteredFileExtension>svg</nonFilteredFileExtension>
279                             <nonFilteredFileExtension>woff</nonFilteredFileExtension>
280                             <nonFilteredFileExtension>woff2</nonFilteredFileExtension>
281                             <nonFilteredFileExtension>mso</nonFilteredFileExtension>
282                             <nonFilteredFileExtension>wmz</nonFilteredFileExtension>
283                             <nonFilteredFileExtension>emz</nonFilteredFileExtension>
284                             <nonFilteredFileExtension>otf</nonFilteredFileExtension>
285                         </nonFilteredFileExtensions>
286                     </configuration>
287                 </plugin>
288                 <plugin>
289                     <groupId>org.codehaus.mojo</groupId>
290                     <artifactId>build-helper-maven-plugin</artifactId>
291                     <version>1.10</version>
292                 </plugin>
293                 <plugin>
294                     <groupId>com.mycila</groupId>
295                     <artifactId>license-maven-plugin</artifactId>
296                     <version>3.0.rc1</version>
297                 </plugin>
298                 <plugin>
299                     <artifactId>maven-antrun-plugin</artifactId>
300                     <version>1.8</version>
301                 </plugin>
302             </plugins>
303         </pluginManagement>
304     </build>   
305 </project>