blob: ebd0e7aed7df3b15b5e655fd3d9571bef38faf87 [file] [log] [blame]
Murali-P30753042017-01-30 20:25:40 +05301<?xml version="1.0"?>
Murali-Pe8f5a942017-02-16 17:49:33 +05302<!--
3 Copyright 2017 Huawei Technologies Co., Ltd.
4
5 Licensed under the Apache License, Version 2.0 (the "License");
6 you may not use this file except in compliance with the License.
7 You may obtain a copy of the License at
8
9 http://www.apache.org/licenses/LICENSE-2.0
10
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
16 -->
Kailun Qind4a76582018-03-27 18:23:01 +080017<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
18 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
Murali-P30753042017-01-30 20:25:40 +053019
20 <parent>
Kailun Qind4a76582018-03-27 18:23:01 +080021 <groupId>org.onap.vnf-sdk.function-test</groupId>
Murali-P30753042017-01-30 20:25:40 +053022 <artifactId>vnfsdk-functest-core-parent</artifactId>
Kailun Qind4a76582018-03-27 18:23:01 +080023 <version>1.0.0-SNAPSHOT</version>
Murali-P30753042017-01-30 20:25:40 +053024 </parent>
25
26 <modelVersion>4.0.0</modelVersion>
27 <artifactId>vnf-sdk-function-test</artifactId>
Gary Wub4abd082017-02-01 10:41:21 -080028 <name>vnf-sdk-function-test/vnf-sdk-function-test</name>
Murali-P30753042017-01-30 20:25:40 +053029 <packaging>jar</packaging>
30
31 <build>
32 <plugins>
33 <plugin>
34 <groupId>org.eclipse.m2e</groupId>
35 <artifactId>lifecycle-mapping</artifactId>
36 <version>1.0.0</version>
37 <configuration>
38 <lifecycleMappingMetadata>
39 <pluginExecutions>
40 <pluginExecution>
41 <pluginExecutionFilter>
42 <groupId>org.apache.maven.plugins</groupId>
43 <artifactId>maven-dependency-plugin</artifactId>
Murali-P6f62c8a2017-02-15 19:45:27 +053044 <version>2.10</version>
Murali-P30753042017-01-30 20:25:40 +053045 <versionRange>[2.0,)</versionRange>
46 <goals>
47 <goal>copy-dependencies</goal>
48 </goals>
49 </pluginExecutionFilter>
50 <action>
Kailun Qind4a76582018-03-27 18:23:01 +080051 <ignore/>
Murali-P30753042017-01-30 20:25:40 +053052 </action>
53 </pluginExecution>
54 </pluginExecutions>
55 </lifecycleMappingMetadata>
56 </configuration>
57 </plugin>
58 <plugin>
59 <groupId>org.apache.maven.plugins</groupId>
Murali-P6f62c8a2017-02-15 19:45:27 +053060 <artifactId>maven-compiler-plugin</artifactId>
61 <version>3.3</version>
62 <configuration>
63 <source>1.8</source>
64 <target>1.8</target>
65 </configuration>
66 </plugin>
67 <plugin>
68 <groupId>org.apache.maven.plugins</groupId>
Murali-P30753042017-01-30 20:25:40 +053069 <artifactId>maven-jar-plugin</artifactId>
70 <version>2.6</version>
71 <configuration>
72 <archive>
73 <manifest>
74 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
75 </manifest>
76 </archive>
77 </configuration>
78 </plugin>
79 <plugin>
80 <groupId>org.apache.maven.plugins</groupId>
81 <artifactId>maven-shade-plugin</artifactId>
82 <version>2.4.3</version>
83 <configuration>
84 <createDependencyReducedPom>true</createDependencyReducedPom>
85 <filters>
86 <filter>
87 <artifact>*:*</artifact>
88 <excludes>
89 <exclude>META-INF/*.SF</exclude>
90 <exclude>META-INF/*.DSA</exclude>
91 <exclude>META-INF/*.RSA</exclude>
92 </excludes>
93 </filter>
94 </filters>
95 </configuration>
96 <executions>
97 <execution>
98 <phase>package</phase>
99 <goals>
100 <goal>shade</goal>
101 </goals>
102 <configuration>
Murali-P30753042017-01-30 20:25:40 +0530103 <transformers>
Murali-P6f62c8a2017-02-15 19:45:27 +0530104 <transformer
Kailun Qind4a76582018-03-27 18:23:01 +0800105 implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
Murali-P6f62c8a2017-02-15 19:45:27 +0530106 <transformer
Kailun Qind4a76582018-03-27 18:23:01 +0800107 implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
108 <mainClass>org.onap.vnfsdk.functest.VnfSdkFuncTestApp</mainClass>
Murali-P30753042017-01-30 20:25:40 +0530109 </transformer>
110 </transformers>
111 </configuration>
112 </execution>
113 </executions>
114 </plugin>
115 <plugin>
116 <groupId>org.apache.maven.plugins</groupId>
117 <artifactId>maven-dependency-plugin</artifactId>
118 <executions>
119 <execution>
120 <id>copy-dependencies</id>
121 <phase>package</phase>
122 <goals>
123 <goal>copy-dependencies</goal>
124 </goals>
Murali-P30753042017-01-30 20:25:40 +0530125 </execution>
126 </executions>
127 </plugin>
128 </plugins>
129 </build>
130
131 <dependencies>
132 <dependency>
133 <groupId>io.dropwizard</groupId>
134 <artifactId>dropwizard-core</artifactId>
Kailun Qind4a76582018-03-27 18:23:01 +0800135 <version>1.2.0</version>
Murali-P30753042017-01-30 20:25:40 +0530136 </dependency>
137 <dependency>
138 <groupId>io.dropwizard</groupId>
139 <artifactId>dropwizard-assets</artifactId>
Kailun Qind4a76582018-03-27 18:23:01 +0800140 <version>1.2.0</version>
Murali-P30753042017-01-30 20:25:40 +0530141 </dependency>
142 <dependency>
143 <groupId>io.dropwizard</groupId>
144 <artifactId>dropwizard-hibernate</artifactId>
Kailun Qind4a76582018-03-27 18:23:01 +0800145 <version>1.2.0</version>
146 </dependency>
147 <dependency>
148 <groupId>io.dropwizard</groupId>
149 <artifactId>dropwizard-migrations</artifactId>
150 <version>1.2.0</version>
Murali-P30753042017-01-30 20:25:40 +0530151 </dependency>
152 <!-- lombok -->
153 <dependency>
154 <groupId>org.projectlombok</groupId>
Murali-P6f62c8a2017-02-15 19:45:27 +0530155 <artifactId>lombok</artifactId>
156 <version>1.16.4</version>
Murali-P30753042017-01-30 20:25:40 +0530157 </dependency>
158 <dependency>
159 <groupId>io.swagger</groupId>
160 <artifactId>swagger-jersey2-jaxrs</artifactId>
161 <version>1.5.3</version>
162 </dependency>
163 <!-- jersey -->
164 <dependency>
165 <groupId>org.glassfish.jersey.core</groupId>
166 <artifactId>jersey-server</artifactId>
167 <version>2.16</version>
168 </dependency>
169 <dependency>
170 <groupId>org.glassfish.jersey.media</groupId>
171 <artifactId>jersey-media-multipart</artifactId>
172 <version>2.16</version>
173 </dependency>
174 <dependency>
175 <groupId>org.glassfish.jersey.containers</groupId>
176 <artifactId>jersey-container-servlet-core</artifactId>
177 <version>2.16</version>
178 </dependency>
179 <!-- consumer -->
180 <dependency>
181 <groupId>com.eclipsesource.jaxrs</groupId>
182 <artifactId>consumer</artifactId>
183 <exclusions>
184 <exclusion>
185 <groupId>com.eclipsesource.jaxrs</groupId>
186 <artifactId>jersey-all</artifactId>
187 </exclusion>
188 </exclusions>
189 <version>5.0</version>
190 </dependency>
191 <!-- gson -->
192 <dependency>
193 <groupId>com.google.code.gson</groupId>
194 <artifactId>gson</artifactId>
195 <version>2.2.4</version>
196 </dependency>
Kailun Qind4a76582018-03-27 18:23:01 +0800197 <!--<dependency>-->
198 <!--<groupId>mysql</groupId>-->
199 <!--<artifactId>mysql-connector-java</artifactId>-->
200 <!--<version>5.1.18</version>-->
201 <!--</dependency>-->
Murali-P30753042017-01-30 20:25:40 +0530202 <dependency>
Kailun Qind4a76582018-03-27 18:23:01 +0800203 <groupId>org.postgresql</groupId>
204 <artifactId>postgresql</artifactId>
205 <version>42.1.4</version>
Murali-P30753042017-01-30 20:25:40 +0530206 </dependency>
207 <!-- UT -->
208 <dependency>
209 <groupId>junit</groupId>
210 <artifactId>junit</artifactId>
211 <version>4.10</version>
212 <scope>test</scope>
213 </dependency>
Kailun Qind4a76582018-03-27 18:23:01 +0800214 <!-- https://mvnrepository.com/artifact/io.dropwizard/dropwizard-testing -->
215 <dependency>
216 <groupId>io.dropwizard</groupId>
217 <artifactId>dropwizard-testing</artifactId>
218 <version>1.2.0</version>
219 <scope>test</scope>
220 </dependency>
Murali-P30753042017-01-30 20:25:40 +0530221 <dependency>
222 <groupId>org.powermock</groupId>
223 <artifactId>powermock-module-junit4</artifactId>
224 <version>1.4.10</version>
225 <scope>test</scope>
226 </dependency>
227 <dependency>
228 <groupId>org.powermock</groupId>
229 <artifactId>powermock-api-mockito</artifactId>
230 <version>1.4.10</version>
231 <scope>test</scope>
232 </dependency>
233 <dependency>
234 <groupId>com.h2database</groupId>
235 <artifactId>h2</artifactId>
236 <version>1.4.182</version>
237 <scope>test</scope>
238 </dependency>
239 <dependency>
240 <groupId>org.apache.ant</groupId>
241 <artifactId>ant</artifactId>
242 <version>1.8.2</version>
243 <scope>test</scope>
244 </dependency>
Kailun Qind4a76582018-03-27 18:23:01 +0800245 <!-- https://mvnrepository.com/artifact/org.assertj/assertj-core -->
246 <dependency>
247 <groupId>org.assertj</groupId>
248 <artifactId>assertj-core</artifactId>
249 <version>3.8.0</version>
250 <scope>test</scope>
251 </dependency>
Murali-P30753042017-01-30 20:25:40 +0530252 <!-- UT end -->
Murali-P7cae0822017-04-04 16:19:45 +0530253 <dependency>
254 <groupId>org.mockito</groupId>
255 <artifactId>mockito-all</artifactId>
256 <version>1.9.5</version>
257 </dependency>
258 <!-- https://mvnrepository.com/artifact/org.jmockit/jmockit -->
Kailun Qind4a76582018-03-27 18:23:01 +0800259 <dependency>
260 <groupId>org.jmockit</groupId>
261 <artifactId>jmockit</artifactId>
262 <version>1.19</version>
263 </dependency>
264 <dependency>
265 <groupId>javax.xml.bind</groupId>
266 <artifactId>jaxb-api</artifactId>
267 <version>2.3.0</version>
268 </dependency>
269 <!-- https://mvnrepository.com/artifact/javax.activation/activation -->
270 <dependency>
271 <groupId>javax.activation</groupId>
272 <artifactId>activation</artifactId>
273 <version>1.1</version>
274 </dependency>
Murali-P30753042017-01-30 20:25:40 +0530275 </dependencies>
276</project>