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