blob: 2ad2b5666eda42bc83102fdf1dde79bfa83f3d84 [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>
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>
Chris Donley625de112018-04-10 14:36:44 -0700135 <version>1.3.1</version>
Murali-P30753042017-01-30 20:25:40 +0530136 </dependency>
137 <dependency>
138 <groupId>io.dropwizard</groupId>
139 <artifactId>dropwizard-assets</artifactId>
Chris Donley625de112018-04-10 14:36:44 -0700140 <version>1.3.1</version>
Murali-P30753042017-01-30 20:25:40 +0530141 </dependency>
142 <dependency>
143 <groupId>io.dropwizard</groupId>
144 <artifactId>dropwizard-hibernate</artifactId>
Chris Donley625de112018-04-10 14:36:44 -0700145 <version>1.3.1</version>
Kailun Qind4a76582018-03-27 18:23:01 +0800146 </dependency>
147 <dependency>
148 <groupId>io.dropwizard</groupId>
149 <artifactId>dropwizard-migrations</artifactId>
Chris Donley625de112018-04-10 14:36:44 -0700150 <version>1.3.1</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>
Chris Donley625de112018-04-10 14:36:44 -0700156 <version>1.16.18</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>
Chris Donley625de112018-04-10 14:36:44 -0700167 <version>2.26</version>
Murali-P30753042017-01-30 20:25:40 +0530168 </dependency>
169 <dependency>
170 <groupId>org.glassfish.jersey.media</groupId>
171 <artifactId>jersey-media-multipart</artifactId>
Chris Donley625de112018-04-10 14:36:44 -0700172 <version>2.26</version>
Murali-P30753042017-01-30 20:25:40 +0530173 </dependency>
174 <dependency>
175 <groupId>org.glassfish.jersey.containers</groupId>
176 <artifactId>jersey-container-servlet-core</artifactId>
Chris Donley625de112018-04-10 14:36:44 -0700177 <version>2.26</version>
Murali-P30753042017-01-30 20:25:40 +0530178 </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>
Chris Donley625de112018-04-10 14:36:44 -0700189 <version>5.3.1</version>
Murali-P30753042017-01-30 20:25:40 +0530190 </dependency>
191 <!-- gson -->
192 <dependency>
193 <groupId>com.google.code.gson</groupId>
194 <artifactId>gson</artifactId>
Chris Donley625de112018-04-10 14:36:44 -0700195 <version>2.8.2</version>
Murali-P30753042017-01-30 20:25:40 +0530196 </dependency>
Kailun Qindc6f9272018-04-11 12:25:22 +0800197 <!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.dataformat/jackson-dataformat-xml -->
198 <dependency>
199 <groupId>com.fasterxml.jackson.dataformat</groupId>
200 <artifactId>jackson-dataformat-xml</artifactId>
201 <version>2.9.5</version>
202 </dependency>
Kailun Qind4a76582018-03-27 18:23:01 +0800203 <!--<dependency>-->
204 <!--<groupId>mysql</groupId>-->
205 <!--<artifactId>mysql-connector-java</artifactId>-->
206 <!--<version>5.1.18</version>-->
207 <!--</dependency>-->
Murali-P30753042017-01-30 20:25:40 +0530208 <dependency>
Kailun Qind4a76582018-03-27 18:23:01 +0800209 <groupId>org.postgresql</groupId>
210 <artifactId>postgresql</artifactId>
211 <version>42.1.4</version>
Murali-P30753042017-01-30 20:25:40 +0530212 </dependency>
213 <!-- UT -->
214 <dependency>
215 <groupId>junit</groupId>
216 <artifactId>junit</artifactId>
Kailun Qin236a2292018-04-11 12:25:22 +0800217 <version>4.12</version>
Murali-P30753042017-01-30 20:25:40 +0530218 <scope>test</scope>
219 </dependency>
Kailun Qind4a76582018-03-27 18:23:01 +0800220 <!-- https://mvnrepository.com/artifact/io.dropwizard/dropwizard-testing -->
221 <dependency>
222 <groupId>io.dropwizard</groupId>
223 <artifactId>dropwizard-testing</artifactId>
Chris Donley625de112018-04-10 14:36:44 -0700224 <version>1.3.1</version>
Kailun Qind4a76582018-03-27 18:23:01 +0800225 <scope>test</scope>
226 </dependency>
Murali-P30753042017-01-30 20:25:40 +0530227 <dependency>
228 <groupId>org.powermock</groupId>
229 <artifactId>powermock-module-junit4</artifactId>
Chris Donley625de112018-04-10 14:36:44 -0700230 <version>1.7.3</version>
Murali-P30753042017-01-30 20:25:40 +0530231 <scope>test</scope>
232 </dependency>
233 <dependency>
234 <groupId>org.powermock</groupId>
235 <artifactId>powermock-api-mockito</artifactId>
Chris Donley625de112018-04-10 14:36:44 -0700236 <version>1.7.3</version>
Murali-P30753042017-01-30 20:25:40 +0530237 <scope>test</scope>
238 </dependency>
239 <dependency>
240 <groupId>com.h2database</groupId>
241 <artifactId>h2</artifactId>
242 <version>1.4.182</version>
243 <scope>test</scope>
244 </dependency>
245 <dependency>
246 <groupId>org.apache.ant</groupId>
247 <artifactId>ant</artifactId>
Chris Donley625de112018-04-10 14:36:44 -0700248 <version>1.10.2</version>
Murali-P30753042017-01-30 20:25:40 +0530249 <scope>test</scope>
250 </dependency>
Kailun Qind4a76582018-03-27 18:23:01 +0800251 <!-- https://mvnrepository.com/artifact/org.assertj/assertj-core -->
252 <dependency>
253 <groupId>org.assertj</groupId>
254 <artifactId>assertj-core</artifactId>
255 <version>3.8.0</version>
256 <scope>test</scope>
257 </dependency>
Murali-P30753042017-01-30 20:25:40 +0530258 <!-- UT end -->
Murali-P7cae0822017-04-04 16:19:45 +0530259 <dependency>
260 <groupId>org.mockito</groupId>
261 <artifactId>mockito-all</artifactId>
Kailun Qin236a2292018-04-11 12:25:22 +0800262 <version>2.0.2-beta</version>
Murali-P7cae0822017-04-04 16:19:45 +0530263 </dependency>
264 <!-- https://mvnrepository.com/artifact/org.jmockit/jmockit -->
Kailun Qind4a76582018-03-27 18:23:01 +0800265 <dependency>
266 <groupId>org.jmockit</groupId>
267 <artifactId>jmockit</artifactId>
Kailun Qin236a2292018-04-11 12:25:22 +0800268 <version>1.25</version>
Kailun Qind4a76582018-03-27 18:23:01 +0800269 </dependency>
270 <dependency>
271 <groupId>javax.xml.bind</groupId>
272 <artifactId>jaxb-api</artifactId>
273 <version>2.3.0</version>
274 </dependency>
275 <!-- https://mvnrepository.com/artifact/javax.activation/activation -->
276 <dependency>
277 <groupId>javax.activation</groupId>
278 <artifactId>activation</artifactId>
Chris Donley625de112018-04-10 14:36:44 -0700279 <version>1.1.1</version>
Kailun Qind4a76582018-03-27 18:23:01 +0800280 </dependency>
Murali-P30753042017-01-30 20:25:40 +0530281 </dependencies>
282</project>