Fix the security issue.
[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>0.1.1</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.16</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.8.2</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                         
71                         <!--<dependency>
72                                 <groupId>com.fasterxml.jackson.core</groupId>
73                                 <artifactId>jackson-databind</artifactId>
74                                 <version>2.8.11</version>
75                         </dependency>-->                        
76
77             <!-- jersey -->
78             <dependency>
79                 <groupId>org.glassfish.jersey.core</groupId>
80                 <artifactId>jersey-server</artifactId>
81                 <version>${jersey.version}</version>
82             </dependency>
83             <dependency>
84                 <groupId>org.glassfish.jersey.media</groupId>
85                 <artifactId>jersey-media-multipart</artifactId>
86                 <version>${jersey.version}</version>
87             </dependency>
88             <dependency>
89                 <groupId>org.glassfish.jersey.containers</groupId>
90                 <artifactId>jersey-container-servlet-core</artifactId>
91                 <version>${jersey.version}</version>
92             </dependency>
93             <!-- consumer -->
94             <dependency>
95                 <groupId>com.eclipsesource.jaxrs</groupId>
96                 <artifactId>consumer</artifactId>
97                 <version>${jaxrs.consumer.version}</version>
98             </dependency>
99             <!-- gson -->
100             <dependency>
101                 <groupId>com.google.code.gson</groupId>
102                 <artifactId>gson</artifactId>
103                 <version>${gson.version}</version>
104             </dependency> 
105             <!-- UT -->
106             <dependency>  
107                 <groupId>junit</groupId>  
108                 <artifactId>junit</artifactId>  
109                 <version>${junit.version}</version>
110             </dependency> 
111             <dependency>
112                 <groupId>org.apache.ant</groupId>
113                 <artifactId>ant</artifactId>
114                 <version>${org.apache.ant.version}</version>
115             </dependency>
116             <!-- UT end -->
117         </dependencies>
118     </dependencyManagement>
119         
120     <build>
121         <pluginManagement>
122             <plugins>
123                 <plugin>
124                     <groupId>org.eclipse.m2e</groupId>
125                     <artifactId>lifecycle-mapping</artifactId>
126                     <version>1.0.0</version>
127                 </plugin>
128                 <plugin>
129                     <groupId>org.apache.maven.plugins</groupId>
130                     <artifactId>maven-compiler-plugin</artifactId>
131                     <version>3.3</version>
132                     <configuration>
133                         <verbose>true</verbose>
134                         <fork>true</fork>
135                         <compilerVersion>1.7</compilerVersion>
136                         <source>1.7</source>
137                         <target>1.7</target>
138                         <encoding>UTF-8</encoding>
139                         <debug>true</debug>
140                     </configuration>
141                 </plugin>
142                 <plugin>
143                     <groupId>org.apache.maven.plugins</groupId>
144                     <artifactId>maven-jar-plugin</artifactId>
145                     <version>2.6</version>
146                     <configuration>
147                         <archive>
148                             <addMavenDescriptor>false</addMavenDescriptor>
149                         </archive>
150                         <forceCreation>true</forceCreation>
151                     </configuration>
152                 </plugin>
153                 <plugin>
154                     <groupId>org.apache.maven.plugins</groupId>
155                     <artifactId>maven-shade-plugin</artifactId>
156                     <version>2.4</version>
157                 </plugin>
158                 <plugin>
159                     <groupId>org.apache.maven.plugins</groupId>
160                     <artifactId>maven-dependency-plugin</artifactId>
161                     <version>2.10</version>          
162                 </plugin>
163                 <plugin>
164                     <groupId>org.apache.maven.plugins</groupId>
165                     <artifactId>maven-resources-plugin</artifactId>
166                     <version>2.7</version>
167                     <configuration>
168                         <encoding>UTF-8</encoding>
169                         <nonFilteredFileExtensions>
170                             <nonFilteredFileExtension>pdf</nonFilteredFileExtension>
171                             <nonFilteredFileExtension>swf</nonFilteredFileExtension>
172                             <nonFilteredFileExtension>exe</nonFilteredFileExtension>
173                             <nonFilteredFileExtension>png</nonFilteredFileExtension>
174                             <nonFilteredFileExtension>gif</nonFilteredFileExtension>
175                             <nonFilteredFileExtension>jpg</nonFilteredFileExtension>
176                             <nonFilteredFileExtension>jpeg</nonFilteredFileExtension>
177                             <nonFilteredFileExtension>bmp</nonFilteredFileExtension>
178                             <nonFilteredFileExtension>eot</nonFilteredFileExtension>
179                             <nonFilteredFileExtension>ttf</nonFilteredFileExtension>
180                             <nonFilteredFileExtension>svg</nonFilteredFileExtension>
181                             <nonFilteredFileExtension>woff</nonFilteredFileExtension>
182                             <nonFilteredFileExtension>woff2</nonFilteredFileExtension>
183                             <nonFilteredFileExtension>mso</nonFilteredFileExtension>
184                             <nonFilteredFileExtension>wmz</nonFilteredFileExtension>
185                             <nonFilteredFileExtension>emz</nonFilteredFileExtension>
186                             <nonFilteredFileExtension>otf</nonFilteredFileExtension>
187                         </nonFilteredFileExtensions>
188                     </configuration>
189                 </plugin>
190                 <plugin>
191                     <groupId>org.codehaus.mojo</groupId>
192                     <artifactId>build-helper-maven-plugin</artifactId>
193                     <version>1.10</version>
194                 </plugin>
195                 <plugin>
196                     <groupId>com.mycila</groupId>
197                     <artifactId>license-maven-plugin</artifactId>
198                     <version>3.0.rc1</version>
199                 </plugin>
200                 <plugin>
201                     <artifactId>maven-antrun-plugin</artifactId>
202                     <version>1.8</version>
203                 </plugin>
204             </plugins>
205         </pluginManagement>
206     </build>   
207         
208         
209 </project>