Fix the root pom of esr-server.
[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.0.0-SNAPSHOT</version>
25     </parent>
26         
27         <groupId>org.onap.aai.esr-server</groupId>
28     <artifactId>aai-esr-server-parent</artifactId>
29     <packaging>pom</packaging>
30
31     <version>1.0.0-SNAPSHOT</version>
32     <name>aai-esr-server-parent</name>
33     <modules>
34         <module>esr-core</module>
35     </modules>
36         
37         <properties>
38         <dropwizard.version>0.8.0</dropwizard.version>
39         <swagger.version>1.5.3</swagger.version>
40         <jersey.version>2.16</jersey.version>
41         <jaxrs.consumer.version>5.0</jaxrs.consumer.version>
42         <gson.version>2.2.4</gson.version>
43         <junit.version>4.10</junit.version>
44         <org.powermock.version>1.4.10</org.powermock.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             <!-- jersey -->
72             <dependency>
73                 <groupId>org.glassfish.jersey.core</groupId>
74                 <artifactId>jersey-server</artifactId>
75                 <version>${jersey.version}</version>
76             </dependency>
77             <dependency>
78                 <groupId>org.glassfish.jersey.media</groupId>
79                 <artifactId>jersey-media-multipart</artifactId>
80                 <version>${jersey.version}</version>
81             </dependency>
82             <dependency>
83                 <groupId>org.glassfish.jersey.containers</groupId>
84                 <artifactId>jersey-container-servlet-core</artifactId>
85                 <version>${jersey.version}</version>
86             </dependency>
87             <!-- consumer -->
88             <dependency>
89                 <groupId>com.eclipsesource.jaxrs</groupId>
90                 <artifactId>consumer</artifactId>
91                 <version>${jaxrs.consumer.version}</version>
92             </dependency>
93             <!-- gson -->
94             <dependency>
95                 <groupId>com.google.code.gson</groupId>
96                 <artifactId>gson</artifactId>
97                 <version>${gson.version}</version>
98             </dependency> 
99             <!-- UT -->
100             <dependency>  
101                 <groupId>junit</groupId>  
102                 <artifactId>junit</artifactId>  
103                 <version>${junit.version}</version>
104             </dependency> 
105             <dependency> 
106                 <groupId>org.powermock</groupId> 
107                 <artifactId>powermock-module-junit4</artifactId> 
108                 <version>${org.powermock.version}</version>
109             </dependency> 
110             <dependency> 
111                 <groupId>org.powermock</groupId> 
112                 <artifactId>powermock-api-mockito</artifactId> 
113                 <version>${org.powermock.version}</version>
114             </dependency> 
115             <dependency>
116                 <groupId>org.apache.ant</groupId>
117                 <artifactId>ant</artifactId>
118                 <version>${org.apache.ant.version}</version>
119             </dependency>
120             <!-- UT end -->
121         </dependencies>
122     </dependencyManagement>
123         
124     <build>
125         <pluginManagement>
126             <plugins>
127                 <plugin>
128                     <groupId>org.eclipse.m2e</groupId>
129                     <artifactId>lifecycle-mapping</artifactId>
130                     <version>1.0.0</version>
131                 </plugin>
132                 <plugin>
133                     <groupId>org.apache.maven.plugins</groupId>
134                     <artifactId>maven-compiler-plugin</artifactId>
135                     <version>3.3</version>
136                     <configuration>
137                         <verbose>true</verbose>
138                         <fork>true</fork>
139                         <compilerVersion>1.7</compilerVersion>
140                         <source>1.7</source>
141                         <target>1.7</target>
142                         <encoding>UTF-8</encoding>
143                         <debug>true</debug>
144                     </configuration>
145                 </plugin>
146                 <plugin>
147                     <groupId>org.apache.maven.plugins</groupId>
148                     <artifactId>maven-jar-plugin</artifactId>
149                     <version>2.6</version>
150                     <configuration>
151                         <archive>
152                             <addMavenDescriptor>false</addMavenDescriptor>
153                         </archive>
154                         <forceCreation>true</forceCreation>
155                     </configuration>
156                 </plugin>
157                 <plugin>
158                     <groupId>org.apache.maven.plugins</groupId>
159                     <artifactId>maven-shade-plugin</artifactId>
160                     <version>2.4</version>
161                 </plugin>
162                 <plugin>
163                     <groupId>org.apache.maven.plugins</groupId>
164                     <artifactId>maven-dependency-plugin</artifactId>
165                     <version>2.10</version>          
166                 </plugin>
167                 <plugin>
168                     <groupId>org.apache.maven.plugins</groupId>
169                     <artifactId>maven-resources-plugin</artifactId>
170                     <version>2.7</version>
171                     <configuration>
172                         <encoding>UTF-8</encoding>
173                         <nonFilteredFileExtensions>
174                             <nonFilteredFileExtension>pdf</nonFilteredFileExtension>
175                             <nonFilteredFileExtension>swf</nonFilteredFileExtension>
176                             <nonFilteredFileExtension>exe</nonFilteredFileExtension>
177                             <nonFilteredFileExtension>png</nonFilteredFileExtension>
178                             <nonFilteredFileExtension>gif</nonFilteredFileExtension>
179                             <nonFilteredFileExtension>jpg</nonFilteredFileExtension>
180                             <nonFilteredFileExtension>jpeg</nonFilteredFileExtension>
181                             <nonFilteredFileExtension>bmp</nonFilteredFileExtension>
182                             <nonFilteredFileExtension>eot</nonFilteredFileExtension>
183                             <nonFilteredFileExtension>ttf</nonFilteredFileExtension>
184                             <nonFilteredFileExtension>svg</nonFilteredFileExtension>
185                             <nonFilteredFileExtension>woff</nonFilteredFileExtension>
186                             <nonFilteredFileExtension>woff2</nonFilteredFileExtension>
187                             <nonFilteredFileExtension>mso</nonFilteredFileExtension>
188                             <nonFilteredFileExtension>wmz</nonFilteredFileExtension>
189                             <nonFilteredFileExtension>emz</nonFilteredFileExtension>
190                             <nonFilteredFileExtension>otf</nonFilteredFileExtension>
191                         </nonFilteredFileExtensions>
192                     </configuration>
193                 </plugin>
194                 <plugin>
195                     <groupId>org.codehaus.mojo</groupId>
196                     <artifactId>build-helper-maven-plugin</artifactId>
197                     <version>1.10</version>
198                 </plugin>
199                 <plugin>
200                     <groupId>com.mycila</groupId>
201                     <artifactId>license-maven-plugin</artifactId>
202                     <version>3.0.rc1</version>
203                 </plugin>
204                 <plugin>
205                     <artifactId>maven-antrun-plugin</artifactId>
206                     <version>1.8</version>
207                 </plugin>
208                                 <plugin>
209                                         <groupId>com.mycila</groupId>
210                                         <artifactId>license-maven-plugin</artifactId>
211                                 </plugin>
212             </plugins>
213         </pluginManagement>
214     </build>   
215         
216         
217 </project>