blob: dbfefeb41f512d13f97b9b063a5bc819b578d30f [file] [log] [blame]
Murali-P30753042017-01-30 20:25:40 +05301<?xml version="1.0"?>
Murali-Pe8f5a942017-02-16 17:49:33 +05302<!--
Chris Donley9726c522018-07-11 11:27:25 -07003 Copyright 2017-2018 Huawei Technologies Co., Ltd.
Gary Wu1abf7422018-08-24 15:33:11 -07004
Murali-Pe8f5a942017-02-16 17:49:33 +05305 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
Gary Wu1abf7422018-08-24 15:33:11 -07008
Murali-Pe8f5a942017-02-16 17:49:33 +05309 http://www.apache.org/licenses/LICENSE-2.0
Gary Wu1abf7422018-08-24 15:33:11 -070010
Murali-Pe8f5a942017-02-16 17:49:33 +053011 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 -->
Gary Wu1abf7422018-08-24 15:33:11 -070017<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" 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 +053018
19 <parent>
Chris Donleye37c8a82018-03-28 12:35:56 -070020 <groupId>org.onap.vnfsdk.functest</groupId>
Murali-P30753042017-01-30 20:25:40 +053021 <artifactId>vnfsdk-functest-core-parent</artifactId>
Chris Donley97173dc2018-05-16 09:13:04 -070022 <version>1.1.0</version>
Murali-P30753042017-01-30 20:25:40 +053023 </parent>
24
25 <modelVersion>4.0.0</modelVersion>
26 <artifactId>vnf-sdk-function-test</artifactId>
Chris Donleye37c8a82018-03-28 12:35:56 -070027 <name>vnfsdk Functional Tests</name>
Chris Donley97173dc2018-05-16 09:13:04 -070028 <version>1.1.0</version>
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>
Gary Wu1abf7422018-08-24 15:33:11 -0700104 <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
105 <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
Kailun Qind4a76582018-03-27 18:23:01 +0800106 <mainClass>org.onap.vnfsdk.functest.VnfSdkFuncTestApp</mainClass>
Murali-P30753042017-01-30 20:25:40 +0530107 </transformer>
108 </transformers>
109 </configuration>
110 </execution>
111 </executions>
112 </plugin>
113 <plugin>
114 <groupId>org.apache.maven.plugins</groupId>
115 <artifactId>maven-dependency-plugin</artifactId>
116 <executions>
117 <execution>
118 <id>copy-dependencies</id>
119 <phase>package</phase>
120 <goals>
121 <goal>copy-dependencies</goal>
122 </goals>
Murali-P30753042017-01-30 20:25:40 +0530123 </execution>
124 </executions>
125 </plugin>
126 </plugins>
127 </build>
128
129 <dependencies>
130 <dependency>
131 <groupId>io.dropwizard</groupId>
132 <artifactId>dropwizard-core</artifactId>
Chris Donley9726c522018-07-11 11:27:25 -0700133 <version>1.3.5</version>
Murali-P30753042017-01-30 20:25:40 +0530134 </dependency>
135 <dependency>
136 <groupId>io.dropwizard</groupId>
137 <artifactId>dropwizard-assets</artifactId>
Chris Donley9726c522018-07-11 11:27:25 -0700138 <version>1.3.5</version>
Murali-P30753042017-01-30 20:25:40 +0530139 </dependency>
140 <dependency>
141 <groupId>io.dropwizard</groupId>
142 <artifactId>dropwizard-hibernate</artifactId>
Chris Donley9726c522018-07-11 11:27:25 -0700143 <version>1.3.5</version>
Kailun Qind4a76582018-03-27 18:23:01 +0800144 </dependency>
Murali-P30753042017-01-30 20:25:40 +0530145 <!-- lombok -->
146 <dependency>
147 <groupId>org.projectlombok</groupId>
Murali-P6f62c8a2017-02-15 19:45:27 +0530148 <artifactId>lombok</artifactId>
Chris Donley625de112018-04-10 14:36:44 -0700149 <version>1.16.18</version>
Murali-P30753042017-01-30 20:25:40 +0530150 </dependency>
151 <dependency>
152 <groupId>io.swagger</groupId>
153 <artifactId>swagger-jersey2-jaxrs</artifactId>
154 <version>1.5.3</version>
155 </dependency>
156 <!-- jersey -->
157 <dependency>
158 <groupId>org.glassfish.jersey.core</groupId>
159 <artifactId>jersey-server</artifactId>
Kailun Qinf1d268d2018-04-13 15:58:09 +0800160 <version>2.25.1</version>
Murali-P30753042017-01-30 20:25:40 +0530161 </dependency>
162 <dependency>
163 <groupId>org.glassfish.jersey.media</groupId>
164 <artifactId>jersey-media-multipart</artifactId>
Kailun Qinf1d268d2018-04-13 15:58:09 +0800165 <version>2.25.1</version>
Murali-P30753042017-01-30 20:25:40 +0530166 </dependency>
167 <dependency>
168 <groupId>org.glassfish.jersey.containers</groupId>
169 <artifactId>jersey-container-servlet-core</artifactId>
Kailun Qinf1d268d2018-04-13 15:58:09 +0800170 <version>2.25.1</version>
Murali-P30753042017-01-30 20:25:40 +0530171 </dependency>
Chris Donley9726c522018-07-11 11:27:25 -0700172 <!-- jetty -->
173 <dependency>
174 <groupId>org.eclipse.jetty</groupId>
175 <artifactId>jetty-http</artifactId>
176 <version>9.4.11.v20180605</version>
177 </dependency>
178 <dependency>
179 <groupId>org.eclipse.jetty</groupId>
180 <artifactId>jetty-servlet</artifactId>
181 <version>9.4.11.v20180605</version>
182 </dependency>
Murali-P30753042017-01-30 20:25:40 +0530183 <!-- consumer -->
184 <dependency>
185 <groupId>com.eclipsesource.jaxrs</groupId>
186 <artifactId>consumer</artifactId>
187 <exclusions>
188 <exclusion>
189 <groupId>com.eclipsesource.jaxrs</groupId>
190 <artifactId>jersey-all</artifactId>
191 </exclusion>
192 </exclusions>
Chris Donley625de112018-04-10 14:36:44 -0700193 <version>5.3.1</version>
Murali-P30753042017-01-30 20:25:40 +0530194 </dependency>
195 <!-- gson -->
196 <dependency>
197 <groupId>com.google.code.gson</groupId>
198 <artifactId>gson</artifactId>
Chris Donley625de112018-04-10 14:36:44 -0700199 <version>2.8.2</version>
Murali-P30753042017-01-30 20:25:40 +0530200 </dependency>
Kailun Qindc6f9272018-04-11 12:25:22 +0800201 <!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.dataformat/jackson-dataformat-xml -->
202 <dependency>
203 <groupId>com.fasterxml.jackson.dataformat</groupId>
204 <artifactId>jackson-dataformat-xml</artifactId>
205 <version>2.9.5</version>
206 </dependency>
Kailun Qin8b6597f2018-04-17 08:16:06 +0800207 <!-- https://mvnrepository.com/artifact/org.glassfish.hk2.external/javax.inject -->
208 <dependency>
209 <groupId>org.glassfish.hk2.external</groupId>
210 <artifactId>javax.inject</artifactId>
211 <version>2.5.0-b61</version>
212 </dependency>
213 <!-- https://mvnrepository.com/artifact/org.glassfish.hk2/hk2-api -->
214 <dependency>
215 <groupId>org.glassfish.hk2</groupId>
216 <artifactId>hk2-api</artifactId>
217 <version>2.5.0-b61</version>
218 </dependency>
219 <!-- https://mvnrepository.com/artifact/org.glassfish.hk2/hk2-locator -->
220 <dependency>
221 <groupId>org.glassfish.hk2</groupId>
222 <artifactId>hk2-locator</artifactId>
223 <version>2.5.0-b61</version>
224 </dependency>
225 <!-- https://mvnrepository.com/artifact/org.glassfish.hk2/hk2-utils -->
226 <dependency>
227 <groupId>org.glassfish.hk2</groupId>
228 <artifactId>hk2-utils</artifactId>
229 <version>2.5.0-b61</version>
230 </dependency>
231 <!-- https://mvnrepository.com/artifact/org.glassfish.hk2/osgi-resource-locator -->
232 <dependency>
233 <groupId>org.glassfish.hk2</groupId>
234 <artifactId>osgi-resource-locator</artifactId>
235 <version>2.5.0-b42</version>
236 </dependency>
Kailun Qind4a76582018-03-27 18:23:01 +0800237 <!--<dependency>-->
238 <!--<groupId>mysql</groupId>-->
239 <!--<artifactId>mysql-connector-java</artifactId>-->
240 <!--<version>5.1.18</version>-->
241 <!--</dependency>-->
Murali-P30753042017-01-30 20:25:40 +0530242 <dependency>
Kailun Qind4a76582018-03-27 18:23:01 +0800243 <groupId>org.postgresql</groupId>
244 <artifactId>postgresql</artifactId>
245 <version>42.1.4</version>
Murali-P30753042017-01-30 20:25:40 +0530246 </dependency>
247 <!-- UT -->
248 <dependency>
249 <groupId>junit</groupId>
250 <artifactId>junit</artifactId>
Kailun Qin236a2292018-04-11 12:25:22 +0800251 <version>4.12</version>
Murali-P30753042017-01-30 20:25:40 +0530252 <scope>test</scope>
253 </dependency>
Kailun Qind4a76582018-03-27 18:23:01 +0800254 <!-- https://mvnrepository.com/artifact/io.dropwizard/dropwizard-testing -->
255 <dependency>
256 <groupId>io.dropwizard</groupId>
257 <artifactId>dropwizard-testing</artifactId>
Chris Donley34602122018-05-08 09:55:08 -0700258 <version>1.3.2</version>
Kailun Qind4a76582018-03-27 18:23:01 +0800259 <scope>test</scope>
260 </dependency>
Murali-P30753042017-01-30 20:25:40 +0530261 <dependency>
262 <groupId>org.powermock</groupId>
263 <artifactId>powermock-module-junit4</artifactId>
Chris Donley625de112018-04-10 14:36:44 -0700264 <version>1.7.3</version>
Murali-P30753042017-01-30 20:25:40 +0530265 <scope>test</scope>
266 </dependency>
267 <dependency>
268 <groupId>org.powermock</groupId>
269 <artifactId>powermock-api-mockito</artifactId>
Chris Donley625de112018-04-10 14:36:44 -0700270 <version>1.7.3</version>
Murali-P30753042017-01-30 20:25:40 +0530271 <scope>test</scope>
272 </dependency>
273 <dependency>
274 <groupId>com.h2database</groupId>
275 <artifactId>h2</artifactId>
Chris Donley9726c522018-07-11 11:27:25 -0700276 <version>1.4.197</version>
Murali-P30753042017-01-30 20:25:40 +0530277 <scope>test</scope>
278 </dependency>
279 <dependency>
280 <groupId>org.apache.ant</groupId>
281 <artifactId>ant</artifactId>
Chris Donley625de112018-04-10 14:36:44 -0700282 <version>1.10.2</version>
Murali-P30753042017-01-30 20:25:40 +0530283 <scope>test</scope>
284 </dependency>
Kailun Qind4a76582018-03-27 18:23:01 +0800285 <!-- https://mvnrepository.com/artifact/org.assertj/assertj-core -->
286 <dependency>
287 <groupId>org.assertj</groupId>
288 <artifactId>assertj-core</artifactId>
289 <version>3.8.0</version>
290 <scope>test</scope>
291 </dependency>
Murali-P30753042017-01-30 20:25:40 +0530292 <!-- UT end -->
Murali-P7cae0822017-04-04 16:19:45 +0530293 <dependency>
294 <groupId>org.mockito</groupId>
295 <artifactId>mockito-all</artifactId>
Kailun Qin236a2292018-04-11 12:25:22 +0800296 <version>2.0.2-beta</version>
Kailun Qin2f07f0d2018-04-19 04:17:11 +0800297 <scope>test</scope>
Kailun Qind4a76582018-03-27 18:23:01 +0800298 </dependency>
299 <dependency>
300 <groupId>javax.xml.bind</groupId>
301 <artifactId>jaxb-api</artifactId>
302 <version>2.3.0</version>
303 </dependency>
304 <!-- https://mvnrepository.com/artifact/javax.activation/activation -->
305 <dependency>
306 <groupId>javax.activation</groupId>
307 <artifactId>activation</artifactId>
Chris Donley625de112018-04-10 14:36:44 -0700308 <version>1.1.1</version>
Kailun Qind4a76582018-03-27 18:23:01 +0800309 </dependency>
Murali-P30753042017-01-30 20:25:40 +0530310 </dependencies>
311</project>