blob: 9238deb5fc18f558bb07a02661c4231e9f796832 [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>
Chris Donleye37c8a82018-03-28 12:35:56 -070021 <groupId>org.onap.vnfsdk.functest</groupId>
Murali-P30753042017-01-30 20:25:40 +053022 <artifactId>vnfsdk-functest-core-parent</artifactId>
Chris Donleya7b059d2018-04-13 08:08:18 -070023 <version>1.0.0</version>
Murali-P30753042017-01-30 20:25:40 +053024 </parent>
25
26 <modelVersion>4.0.0</modelVersion>
27 <artifactId>vnf-sdk-function-test</artifactId>
Chris Donleye37c8a82018-03-28 12:35:56 -070028 <name>vnfsdk Functional Tests</name>
Kailun Qinf1d268d2018-04-13 15:58:09 +080029 <version>1.1.0-SNAPSHOT</version>
Murali-P30753042017-01-30 20:25:40 +053030 <packaging>jar</packaging>
31
32 <build>
33 <plugins>
34 <plugin>
35 <groupId>org.eclipse.m2e</groupId>
36 <artifactId>lifecycle-mapping</artifactId>
37 <version>1.0.0</version>
38 <configuration>
39 <lifecycleMappingMetadata>
40 <pluginExecutions>
41 <pluginExecution>
42 <pluginExecutionFilter>
43 <groupId>org.apache.maven.plugins</groupId>
44 <artifactId>maven-dependency-plugin</artifactId>
Murali-P6f62c8a2017-02-15 19:45:27 +053045 <version>2.10</version>
Murali-P30753042017-01-30 20:25:40 +053046 <versionRange>[2.0,)</versionRange>
47 <goals>
48 <goal>copy-dependencies</goal>
49 </goals>
50 </pluginExecutionFilter>
51 <action>
Kailun Qind4a76582018-03-27 18:23:01 +080052 <ignore/>
Murali-P30753042017-01-30 20:25:40 +053053 </action>
54 </pluginExecution>
55 </pluginExecutions>
56 </lifecycleMappingMetadata>
57 </configuration>
58 </plugin>
59 <plugin>
60 <groupId>org.apache.maven.plugins</groupId>
Murali-P6f62c8a2017-02-15 19:45:27 +053061 <artifactId>maven-compiler-plugin</artifactId>
62 <version>3.3</version>
63 <configuration>
64 <source>1.8</source>
65 <target>1.8</target>
66 </configuration>
67 </plugin>
68 <plugin>
69 <groupId>org.apache.maven.plugins</groupId>
Murali-P30753042017-01-30 20:25:40 +053070 <artifactId>maven-jar-plugin</artifactId>
71 <version>2.6</version>
72 <configuration>
73 <archive>
74 <manifest>
75 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
76 </manifest>
77 </archive>
78 </configuration>
79 </plugin>
80 <plugin>
81 <groupId>org.apache.maven.plugins</groupId>
82 <artifactId>maven-shade-plugin</artifactId>
83 <version>2.4.3</version>
84 <configuration>
85 <createDependencyReducedPom>true</createDependencyReducedPom>
86 <filters>
87 <filter>
88 <artifact>*:*</artifact>
89 <excludes>
90 <exclude>META-INF/*.SF</exclude>
91 <exclude>META-INF/*.DSA</exclude>
92 <exclude>META-INF/*.RSA</exclude>
93 </excludes>
94 </filter>
95 </filters>
96 </configuration>
97 <executions>
98 <execution>
99 <phase>package</phase>
100 <goals>
101 <goal>shade</goal>
102 </goals>
103 <configuration>
Murali-P30753042017-01-30 20:25:40 +0530104 <transformers>
Murali-P6f62c8a2017-02-15 19:45:27 +0530105 <transformer
Kailun Qind4a76582018-03-27 18:23:01 +0800106 implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
Murali-P6f62c8a2017-02-15 19:45:27 +0530107 <transformer
Kailun Qind4a76582018-03-27 18:23:01 +0800108 implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
109 <mainClass>org.onap.vnfsdk.functest.VnfSdkFuncTestApp</mainClass>
Murali-P30753042017-01-30 20:25:40 +0530110 </transformer>
111 </transformers>
112 </configuration>
113 </execution>
114 </executions>
115 </plugin>
116 <plugin>
117 <groupId>org.apache.maven.plugins</groupId>
118 <artifactId>maven-dependency-plugin</artifactId>
119 <executions>
120 <execution>
121 <id>copy-dependencies</id>
122 <phase>package</phase>
123 <goals>
124 <goal>copy-dependencies</goal>
125 </goals>
Murali-P30753042017-01-30 20:25:40 +0530126 </execution>
127 </executions>
128 </plugin>
129 </plugins>
130 </build>
131
132 <dependencies>
133 <dependency>
134 <groupId>io.dropwizard</groupId>
135 <artifactId>dropwizard-core</artifactId>
Chris Donley34602122018-05-08 09:55:08 -0700136 <version>1.3.2</version>
Murali-P30753042017-01-30 20:25:40 +0530137 </dependency>
138 <dependency>
139 <groupId>io.dropwizard</groupId>
140 <artifactId>dropwizard-assets</artifactId>
Chris Donley34602122018-05-08 09:55:08 -0700141 <version>1.3.2</version>
Murali-P30753042017-01-30 20:25:40 +0530142 </dependency>
143 <dependency>
144 <groupId>io.dropwizard</groupId>
145 <artifactId>dropwizard-hibernate</artifactId>
Chris Donley34602122018-05-08 09:55:08 -0700146 <version>1.3.2</version>
Kailun Qind4a76582018-03-27 18:23:01 +0800147 </dependency>
Murali-P30753042017-01-30 20:25:40 +0530148 <!-- lombok -->
149 <dependency>
150 <groupId>org.projectlombok</groupId>
Murali-P6f62c8a2017-02-15 19:45:27 +0530151 <artifactId>lombok</artifactId>
Chris Donley625de112018-04-10 14:36:44 -0700152 <version>1.16.18</version>
Murali-P30753042017-01-30 20:25:40 +0530153 </dependency>
154 <dependency>
155 <groupId>io.swagger</groupId>
156 <artifactId>swagger-jersey2-jaxrs</artifactId>
157 <version>1.5.3</version>
158 </dependency>
159 <!-- jersey -->
160 <dependency>
161 <groupId>org.glassfish.jersey.core</groupId>
162 <artifactId>jersey-server</artifactId>
Kailun Qinf1d268d2018-04-13 15:58:09 +0800163 <version>2.25.1</version>
Murali-P30753042017-01-30 20:25:40 +0530164 </dependency>
165 <dependency>
166 <groupId>org.glassfish.jersey.media</groupId>
167 <artifactId>jersey-media-multipart</artifactId>
Kailun Qinf1d268d2018-04-13 15:58:09 +0800168 <version>2.25.1</version>
Murali-P30753042017-01-30 20:25:40 +0530169 </dependency>
170 <dependency>
171 <groupId>org.glassfish.jersey.containers</groupId>
172 <artifactId>jersey-container-servlet-core</artifactId>
Kailun Qinf1d268d2018-04-13 15:58:09 +0800173 <version>2.25.1</version>
Murali-P30753042017-01-30 20:25:40 +0530174 </dependency>
175 <!-- consumer -->
176 <dependency>
177 <groupId>com.eclipsesource.jaxrs</groupId>
178 <artifactId>consumer</artifactId>
179 <exclusions>
180 <exclusion>
181 <groupId>com.eclipsesource.jaxrs</groupId>
182 <artifactId>jersey-all</artifactId>
183 </exclusion>
184 </exclusions>
Chris Donley625de112018-04-10 14:36:44 -0700185 <version>5.3.1</version>
Murali-P30753042017-01-30 20:25:40 +0530186 </dependency>
187 <!-- gson -->
188 <dependency>
189 <groupId>com.google.code.gson</groupId>
190 <artifactId>gson</artifactId>
Chris Donley625de112018-04-10 14:36:44 -0700191 <version>2.8.2</version>
Murali-P30753042017-01-30 20:25:40 +0530192 </dependency>
Kailun Qindc6f9272018-04-11 12:25:22 +0800193 <!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.dataformat/jackson-dataformat-xml -->
194 <dependency>
195 <groupId>com.fasterxml.jackson.dataformat</groupId>
196 <artifactId>jackson-dataformat-xml</artifactId>
197 <version>2.9.5</version>
198 </dependency>
Kailun Qin8b6597f2018-04-17 08:16:06 +0800199 <!-- https://mvnrepository.com/artifact/org.glassfish.hk2.external/javax.inject -->
200 <dependency>
201 <groupId>org.glassfish.hk2.external</groupId>
202 <artifactId>javax.inject</artifactId>
203 <version>2.5.0-b61</version>
204 </dependency>
205 <!-- https://mvnrepository.com/artifact/org.glassfish.hk2/hk2-api -->
206 <dependency>
207 <groupId>org.glassfish.hk2</groupId>
208 <artifactId>hk2-api</artifactId>
209 <version>2.5.0-b61</version>
210 </dependency>
211 <!-- https://mvnrepository.com/artifact/org.glassfish.hk2/hk2-locator -->
212 <dependency>
213 <groupId>org.glassfish.hk2</groupId>
214 <artifactId>hk2-locator</artifactId>
215 <version>2.5.0-b61</version>
216 </dependency>
217 <!-- https://mvnrepository.com/artifact/org.glassfish.hk2/hk2-utils -->
218 <dependency>
219 <groupId>org.glassfish.hk2</groupId>
220 <artifactId>hk2-utils</artifactId>
221 <version>2.5.0-b61</version>
222 </dependency>
223 <!-- https://mvnrepository.com/artifact/org.glassfish.hk2/osgi-resource-locator -->
224 <dependency>
225 <groupId>org.glassfish.hk2</groupId>
226 <artifactId>osgi-resource-locator</artifactId>
227 <version>2.5.0-b42</version>
228 </dependency>
Kailun Qind4a76582018-03-27 18:23:01 +0800229 <!--<dependency>-->
230 <!--<groupId>mysql</groupId>-->
231 <!--<artifactId>mysql-connector-java</artifactId>-->
232 <!--<version>5.1.18</version>-->
233 <!--</dependency>-->
Murali-P30753042017-01-30 20:25:40 +0530234 <dependency>
Kailun Qind4a76582018-03-27 18:23:01 +0800235 <groupId>org.postgresql</groupId>
236 <artifactId>postgresql</artifactId>
237 <version>42.1.4</version>
Murali-P30753042017-01-30 20:25:40 +0530238 </dependency>
239 <!-- UT -->
240 <dependency>
241 <groupId>junit</groupId>
242 <artifactId>junit</artifactId>
Kailun Qin236a2292018-04-11 12:25:22 +0800243 <version>4.12</version>
Murali-P30753042017-01-30 20:25:40 +0530244 <scope>test</scope>
245 </dependency>
Kailun Qind4a76582018-03-27 18:23:01 +0800246 <!-- https://mvnrepository.com/artifact/io.dropwizard/dropwizard-testing -->
247 <dependency>
248 <groupId>io.dropwizard</groupId>
249 <artifactId>dropwizard-testing</artifactId>
Chris Donley34602122018-05-08 09:55:08 -0700250 <version>1.3.2</version>
Kailun Qind4a76582018-03-27 18:23:01 +0800251 <scope>test</scope>
252 </dependency>
Murali-P30753042017-01-30 20:25:40 +0530253 <dependency>
254 <groupId>org.powermock</groupId>
255 <artifactId>powermock-module-junit4</artifactId>
Chris Donley625de112018-04-10 14:36:44 -0700256 <version>1.7.3</version>
Murali-P30753042017-01-30 20:25:40 +0530257 <scope>test</scope>
258 </dependency>
259 <dependency>
260 <groupId>org.powermock</groupId>
261 <artifactId>powermock-api-mockito</artifactId>
Chris Donley625de112018-04-10 14:36:44 -0700262 <version>1.7.3</version>
Murali-P30753042017-01-30 20:25:40 +0530263 <scope>test</scope>
264 </dependency>
265 <dependency>
266 <groupId>com.h2database</groupId>
267 <artifactId>h2</artifactId>
268 <version>1.4.182</version>
269 <scope>test</scope>
270 </dependency>
271 <dependency>
272 <groupId>org.apache.ant</groupId>
273 <artifactId>ant</artifactId>
Chris Donley625de112018-04-10 14:36:44 -0700274 <version>1.10.2</version>
Murali-P30753042017-01-30 20:25:40 +0530275 <scope>test</scope>
276 </dependency>
Kailun Qind4a76582018-03-27 18:23:01 +0800277 <!-- https://mvnrepository.com/artifact/org.assertj/assertj-core -->
278 <dependency>
279 <groupId>org.assertj</groupId>
280 <artifactId>assertj-core</artifactId>
281 <version>3.8.0</version>
282 <scope>test</scope>
283 </dependency>
Murali-P30753042017-01-30 20:25:40 +0530284 <!-- UT end -->
Murali-P7cae0822017-04-04 16:19:45 +0530285 <dependency>
286 <groupId>org.mockito</groupId>
287 <artifactId>mockito-all</artifactId>
Kailun Qin236a2292018-04-11 12:25:22 +0800288 <version>2.0.2-beta</version>
Kailun Qin2f07f0d2018-04-19 04:17:11 +0800289 <scope>test</scope>
Kailun Qind4a76582018-03-27 18:23:01 +0800290 </dependency>
291 <dependency>
292 <groupId>javax.xml.bind</groupId>
293 <artifactId>jaxb-api</artifactId>
294 <version>2.3.0</version>
295 </dependency>
296 <!-- https://mvnrepository.com/artifact/javax.activation/activation -->
297 <dependency>
298 <groupId>javax.activation</groupId>
299 <artifactId>activation</artifactId>
Chris Donley625de112018-04-10 14:36:44 -0700300 <version>1.1.1</version>
Kailun Qind4a76582018-03-27 18:23:01 +0800301 </dependency>
Murali-P30753042017-01-30 20:25:40 +0530302 </dependencies>
303</project>