Define AAI Vim register related API
[aai/esr-server.git] / esr-core / esr-mgr / pom.xml
1 <?xml version="1.0"?>
2 <!--
3
4     Copyright 2016-2017 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
21     <parent>
22         <groupId>org.onap.aai.esr-server</groupId>
23         <artifactId>esr-core-parent</artifactId>
24         <version>1.0.0-SNAPSHOT</version>
25     </parent>
26
27     <modelVersion>4.0.0</modelVersion>
28     <artifactId>esr-mgr</artifactId>
29     <name>esr-server/esr-core/esr-mgr</name>
30     <packaging>jar</packaging>
31
32     <build>
33         <plugins>
34             <plugin>
35                 <groupId>org.eclipse.m2e</groupId>
36                 <artifactId>lifecycle-mapping</artifactId>
37                 <configuration>
38                     <lifecycleMappingMetadata>
39                         <pluginExecutions>
40                             <pluginExecution>
41                                 <pluginExecutionFilter>
42                                     <groupId>org.apache.maven.plugins</groupId>
43                                     <artifactId>maven-dependency-plugin</artifactId>
44                                     <versionRange>[2.0,)</versionRange>
45                                     <goals>
46                                         <goal>copy-dependencies</goal>
47                                     </goals>
48                                 </pluginExecutionFilter>
49                                 <action>
50                                     <ignore/>
51                                 </action>
52                             </pluginExecution>
53                         </pluginExecutions>
54                     </lifecycleMappingMetadata>
55                 </configuration>
56             </plugin>
57             <plugin>
58                 <groupId>org.apache.maven.plugins</groupId>
59                 <artifactId>maven-jar-plugin</artifactId>
60                 <configuration>
61                     <archive>
62                         <manifest>
63                             <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
64                         </manifest>
65                     </archive>
66                 </configuration>
67             </plugin>
68             <plugin>
69                 <groupId>org.apache.maven.plugins</groupId>
70                 <artifactId>maven-shade-plugin</artifactId>
71                 <configuration>
72                     <createDependencyReducedPom>true</createDependencyReducedPom>
73                     <filters>
74                         <filter>
75                             <artifact>*:*</artifact>
76                             <excludes>
77                                 <exclude>META-INF/*.SF</exclude>
78                                 <exclude>META-INF/*.DSA</exclude>
79                                 <exclude>META-INF/*.RSA</exclude>
80                             </excludes>
81                         </filter>
82                     </filters>
83                 </configuration>
84                 <executions>
85                     <execution>
86                         <phase>package</phase>
87                         <goals>
88                             <goal>shade</goal>
89                         </goals>
90                         <configuration>
91                             <transformers>
92                                 <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
93                                 <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
94                                     <mainClass>org.onap.aai.esr.extsysApp</mainClass>
95                                 </transformer>
96                             </transformers>
97                         </configuration>
98                     </execution>
99                 </executions>
100             </plugin>
101             <plugin>
102                 <groupId>org.apache.maven.plugins</groupId>
103                 <artifactId>maven-dependency-plugin</artifactId>
104                 <executions>
105                     <execution>
106                         <id>copy-dependencies</id>
107                         <phase>package</phase>
108                         <goals>
109                             <goal>copy-dependencies</goal>
110                         </goals>
111                         <configuration>
112                             <artifactItems>
113                                 <artifactItem>
114                                     <groupId>io.dropwizard</groupId>
115                                     <artifactId>dropwizard-core</artifactId>
116                                     <version>${dropwizard.version}</version>
117                                     <overWrite>true</overWrite>
118                                 </artifactItem>
119                             </artifactItems>
120                         </configuration>
121                     </execution>
122                 </executions>
123             </plugin>
124         </plugins>
125     </build>
126
127     <dependencies>
128         <dependency>
129             <groupId>io.dropwizard</groupId>
130             <artifactId>dropwizard-core</artifactId>
131         </dependency>
132         <dependency>
133             <groupId>io.dropwizard</groupId>
134             <artifactId>dropwizard-assets</artifactId>
135         </dependency>
136         <dependency>
137             <groupId>io.dropwizard</groupId>
138             <artifactId>dropwizard-hibernate</artifactId>
139         </dependency>
140         <dependency>
141             <groupId>io.swagger</groupId>
142             <artifactId>swagger-jersey2-jaxrs</artifactId>
143         </dependency>
144                 <dependency>
145                         <groupId>io.dropwizard</groupId>
146                         <artifactId>dropwizard-migrations</artifactId>
147                         <version>0.8.0</version>
148                 </dependency>
149         <!-- jersey -->
150         <dependency>
151             <groupId>org.glassfish.jersey.core</groupId>
152             <artifactId>jersey-server</artifactId>
153         </dependency>
154         <dependency>
155             <groupId>org.glassfish.jersey.media</groupId>
156             <artifactId>jersey-media-multipart</artifactId>
157         </dependency>
158         <dependency>
159             <groupId>org.glassfish.jersey.containers</groupId>
160             <artifactId>jersey-container-servlet-core</artifactId>
161         </dependency>
162                 <dependency>
163                         <groupId>com.sun.jersey</groupId>
164                         <artifactId>jersey-client</artifactId>
165                         <version>1.18</version>
166                 </dependency>
167         <!-- consumer -->
168         <dependency>
169             <groupId>com.eclipsesource.jaxrs</groupId>
170             <artifactId>consumer</artifactId>
171             <exclusions>
172                 <exclusion>
173                     <groupId>com.eclipsesource.jaxrs</groupId>
174                     <artifactId>jersey-all</artifactId>
175                 </exclusion>
176             </exclusions>
177         </dependency>
178         <!-- gson -->
179         <dependency>
180             <groupId>com.google.code.gson</groupId>
181             <artifactId>gson</artifactId>
182         </dependency>
183         <!-- UT -->
184         <dependency>
185             <groupId>junit</groupId>
186             <artifactId>junit</artifactId>
187             <scope>test</scope>
188         </dependency>
189         <dependency>
190             <groupId>org.powermock</groupId>
191             <artifactId>powermock-module-junit4</artifactId>
192             <scope>test</scope>
193         </dependency>
194         <dependency>
195             <groupId>org.powermock</groupId>
196             <artifactId>powermock-api-mockito</artifactId>
197             <scope>test</scope>
198         </dependency>
199         <dependency>
200             <groupId>org.apache.ant</groupId>
201             <artifactId>ant</artifactId>
202             <scope>test</scope>
203         </dependency>
204         <!-- MSB java-sdk -->
205         <dependency>
206             <groupId>org.onap.msb.java-sdk</groupId>
207             <artifactId>msb-java-sdk</artifactId>
208             <version>1.0.0-SNAPSHOT</version>
209          </dependency>    
210     </dependencies>
211 </project>