blob: e91b92e4e4804978ea446cb9e1b279b9eaafea30 [file] [log] [blame]
Murali-P30753042017-01-30 20:25:40 +05301<?xml version="1.0"?>
2
3<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">
4
5 <parent>
6 <groupId>org.openo.vnf-sdk.function-test</groupId>
7 <artifactId>vnfsdk-functest-core-parent</artifactId>
8 <version>1.1.0-SNAPSHOT</version>
9 </parent>
10
11 <modelVersion>4.0.0</modelVersion>
12 <artifactId>vnf-sdk-function-test</artifactId>
13 <name>vnf-sdk-function-test</name>
14 <packaging>jar</packaging>
15
16 <build>
17 <plugins>
18 <plugin>
19 <groupId>org.eclipse.m2e</groupId>
20 <artifactId>lifecycle-mapping</artifactId>
21 <version>1.0.0</version>
22 <configuration>
23 <lifecycleMappingMetadata>
24 <pluginExecutions>
25 <pluginExecution>
26 <pluginExecutionFilter>
27 <groupId>org.apache.maven.plugins</groupId>
28 <artifactId>maven-dependency-plugin</artifactId>
29 <version>2.10</version>
30 <versionRange>[2.0,)</versionRange>
31 <goals>
32 <goal>copy-dependencies</goal>
33 </goals>
34 </pluginExecutionFilter>
35 <action>
36 <ignore/>
37 </action>
38 </pluginExecution>
39 </pluginExecutions>
40 </lifecycleMappingMetadata>
41 </configuration>
42 </plugin>
43 <plugin>
44 <groupId>org.apache.maven.plugins</groupId>
45 <artifactId>maven-jar-plugin</artifactId>
46 <version>2.6</version>
47 <configuration>
48 <archive>
49 <manifest>
50 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
51 </manifest>
52 </archive>
53 </configuration>
54 </plugin>
55 <plugin>
56 <groupId>org.apache.maven.plugins</groupId>
57 <artifactId>maven-shade-plugin</artifactId>
58 <version>2.4.3</version>
59 <configuration>
60 <createDependencyReducedPom>true</createDependencyReducedPom>
61 <filters>
62 <filter>
63 <artifact>*:*</artifact>
64 <excludes>
65 <exclude>META-INF/*.SF</exclude>
66 <exclude>META-INF/*.DSA</exclude>
67 <exclude>META-INF/*.RSA</exclude>
68 </excludes>
69 </filter>
70 </filters>
71 </configuration>
72 <executions>
73 <execution>
74 <phase>package</phase>
75 <goals>
76 <goal>shade</goal>
77 </goals>
78 <configuration>
79 <transformers>
80 <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
81 <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
82 <mainClass>org.openo.vnfsdk.functest.VnfSdkFuncTestApp</mainClass>
83 </transformer>
84 </transformers>
85 </configuration>
86 </execution>
87 </executions>
88 </plugin>
89 <plugin>
90 <groupId>org.apache.maven.plugins</groupId>
91 <artifactId>maven-dependency-plugin</artifactId>
92 <executions>
93 <execution>
94 <id>copy-dependencies</id>
95 <phase>package</phase>
96 <goals>
97 <goal>copy-dependencies</goal>
98 </goals>
99 <configuration>
100 <artifactItems>
101 <artifactItem>
102 <groupId>io.dropwizard</groupId>
103 <artifactId>dropwizard-core</artifactId>
104 <version>0.8.0</version>
105 <overWrite>true</overWrite>
106 </artifactItem>
107 </artifactItems>
108 </configuration>
109 </execution>
110 </executions>
111 </plugin>
112 </plugins>
113 </build>
114
115 <dependencies>
116 <dependency>
117 <groupId>io.dropwizard</groupId>
118 <artifactId>dropwizard-core</artifactId>
119 <version>0.8.0</version>
120 </dependency>
121 <dependency>
122 <groupId>io.dropwizard</groupId>
123 <artifactId>dropwizard-assets</artifactId>
124 <version>0.8.0</version>
125 </dependency>
126 <dependency>
127 <groupId>io.dropwizard</groupId>
128 <artifactId>dropwizard-hibernate</artifactId>
129 <version>0.8.0</version>
130 </dependency>
131 <!-- lombok -->
132 <dependency>
133 <groupId>org.projectlombok</groupId>
134 <artifactId>lombok</artifactId>
135 <version>1.16.4</version>
136 </dependency>
137 <dependency>
138 <groupId>io.swagger</groupId>
139 <artifactId>swagger-jersey2-jaxrs</artifactId>
140 <version>1.5.3</version>
141 </dependency>
142 <!-- jersey -->
143 <dependency>
144 <groupId>org.glassfish.jersey.core</groupId>
145 <artifactId>jersey-server</artifactId>
146 <version>2.16</version>
147 </dependency>
148 <dependency>
149 <groupId>org.glassfish.jersey.media</groupId>
150 <artifactId>jersey-media-multipart</artifactId>
151 <version>2.16</version>
152 </dependency>
153 <dependency>
154 <groupId>org.glassfish.jersey.containers</groupId>
155 <artifactId>jersey-container-servlet-core</artifactId>
156 <version>2.16</version>
157 </dependency>
158 <!-- consumer -->
159 <dependency>
160 <groupId>com.eclipsesource.jaxrs</groupId>
161 <artifactId>consumer</artifactId>
162 <exclusions>
163 <exclusion>
164 <groupId>com.eclipsesource.jaxrs</groupId>
165 <artifactId>jersey-all</artifactId>
166 </exclusion>
167 </exclusions>
168 <version>5.0</version>
169 </dependency>
170 <!-- gson -->
171 <dependency>
172 <groupId>com.google.code.gson</groupId>
173 <artifactId>gson</artifactId>
174 <version>2.2.4</version>
175 </dependency>
176 <dependency>
177 <groupId>mysql</groupId>
178 <artifactId>mysql-connector-java</artifactId>
179 <version>5.1.18</version>
180 </dependency>
181 <!-- UT -->
182 <dependency>
183 <groupId>junit</groupId>
184 <artifactId>junit</artifactId>
185 <version>4.10</version>
186 <scope>test</scope>
187 </dependency>
188 <dependency>
189 <groupId>org.powermock</groupId>
190 <artifactId>powermock-module-junit4</artifactId>
191 <version>1.4.10</version>
192 <scope>test</scope>
193 </dependency>
194 <dependency>
195 <groupId>org.powermock</groupId>
196 <artifactId>powermock-api-mockito</artifactId>
197 <version>1.4.10</version>
198 <scope>test</scope>
199 </dependency>
200 <dependency>
201 <groupId>com.h2database</groupId>
202 <artifactId>h2</artifactId>
203 <version>1.4.182</version>
204 <scope>test</scope>
205 </dependency>
206 <dependency>
207 <groupId>org.apache.ant</groupId>
208 <artifactId>ant</artifactId>
209 <version>1.8.2</version>
210 <scope>test</scope>
211 </dependency>
212 <!-- UT end -->
213 </dependencies>
214</project>