1 <?xml version="1.0" encoding="UTF-8"?>
4 Copyright 2016 ZTE Corporation.
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
10 http://www.apache.org/licenses/LICENSE-2.0
12 Unless required by applicable law or agreed to in writing, software
13 distributed under the License is distributed on an "AS IS" BASIS,
14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 See the License for the specific language governing permissions and
16 limitations under the License.
19 <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">
21 <groupId>org.onap.vfc.nfvo.driver.sfc</groupId>
22 <artifactId>sfc-driver-parent</artifactId>
23 <version>1.3.0-SNAPSHOT</version>
25 <modelVersion>4.0.0</modelVersion>
26 <groupId>org.onap.vfc.nfvo.driver.sfc.zte.sfc-driver</groupId>
27 <artifactId>sfc-driver</artifactId>
28 <name>vfc/nfvo/driver/sfc/zte/sfc-driver/sfc-driver</name>
29 <packaging>jar</packaging>
30 <version>1.3.0-SNAPSHOT</version>
32 <dropwizard.version>1.3.9</dropwizard.version>
33 <jetty.version>9.4.18.v20190429</jetty.version>
34 <jackson-version>2.5.1</jackson-version>
35 <jersey.version>2.22.2</jersey.version>
36 <swagger.version>1.5.3</swagger.version>
37 <junit.version>4.11</junit.version>
38 <powermock.version>1.6.6</powermock.version>
42 <dependencyManagement>
46 <groupId>org.glassfish.jersey.media</groupId>
47 <artifactId>jersey-media-multipart</artifactId>
48 <version>${jersey.version}</version>
52 <groupId>org.glassfish.jersey.containers</groupId>
53 <artifactId>jersey-container-servlet-core</artifactId>
54 <version>${jersey.version}</version>
58 <groupId>org.glassfish.jersey.containers</groupId>
59 <artifactId>jersey-container-servlet</artifactId>
60 <version>2.16</version>
63 <groupId>org.glassfish.jersey.core</groupId>
64 <artifactId>jersey-client</artifactId>
65 <version>2.16</version>
68 <groupId>org.glassfish.jersey.core</groupId>
69 <artifactId>jersey-common</artifactId>
70 <version>2.16</version>
74 <groupId>com.fasterxml.jackson.dataformat</groupId>
75 <artifactId>jackson-dataformat-xml</artifactId>
76 <version>${jackson-version}</version>
80 <groupId>org.glassfish.jersey.containers</groupId>
81 <artifactId>jersey-container-servlet-core</artifactId>
82 <version>${jersey.version}</version>
86 <groupId>org.glassfish.jersey.core</groupId>
87 <artifactId>jersey-common</artifactId>
88 <version>${jersey.version}</version>
92 <groupId>org.codehaus.jackson</groupId>
93 <artifactId>jackson-jaxrs</artifactId>
94 <version>1.9.11</version>
98 <groupId>com.fasterxml.jackson.core</groupId>
99 <artifactId>jackson-annotations</artifactId>
100 <version>${jackson-version}</version>
104 </dependencyManagement>
109 <groupId>io.dropwizard</groupId>
110 <artifactId>dropwizard-core</artifactId>
111 <version>${dropwizard.version}</version>
114 <groupId>io.dropwizard</groupId>
115 <artifactId>dropwizard-assets</artifactId>
116 <version>${dropwizard.version}</version>
119 <groupId>io.swagger</groupId>
120 <artifactId>swagger-jersey2-jaxrs</artifactId>
121 <version>${swagger.version}</version>
122 <scope>compile</scope>
125 <groupId>com.eclipsesource.jaxrs</groupId>
126 <artifactId>consumer</artifactId>
127 <version>2.3</version>
131 <groupId>com.google.code.gson</groupId>
132 <artifactId>gson</artifactId>
133 <version>2.2.4</version>
137 <groupId>junit</groupId>
138 <artifactId>junit</artifactId>
139 <version>${junit.version}</version>
144 <groupId>org.powermock</groupId>
145 <artifactId>powermock-module-junit4</artifactId>
146 <version>${powermock.version}</version>
150 <groupId>org.powermock</groupId>
151 <artifactId>powermock-api-mockito</artifactId>
152 <version>${powermock.version}</version>
156 <groupId>org.powermock</groupId>
157 <artifactId>powermock-core</artifactId>
158 <version>1.6.6</version>
161 <groupId>org.projectlombok</groupId>
162 <artifactId>lombok</artifactId>
163 <version>1.16.8</version>
167 <groupId>org.glassfish.jersey.core</groupId>
168 <artifactId>jersey-server</artifactId>
169 <version>${jersey.version}</version>
172 <groupId>org.glassfish.jersey.core</groupId>
173 <artifactId>jersey-client</artifactId>
174 <version>${jersey.version}</version>
177 <groupId>org.glassfish.jersey.core</groupId>
178 <artifactId>jersey-common</artifactId>
179 <version>${jersey.version}</version>
182 <groupId>org.glassfish.jersey.containers</groupId>
183 <artifactId>jersey-container-servlet-core</artifactId>
184 <version>${jersey.version}</version>
188 <groupId>ch.qos.logback</groupId>
189 <artifactId>logback-classic</artifactId>
190 <version>1.1.2</version>
196 <groupId>org.apache.maven.plugins</groupId>
197 <artifactId>maven-jar-plugin</artifactId>
198 <version>2.4</version>
202 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
208 <groupId>org.apache.maven.plugins</groupId>
209 <artifactId>maven-shade-plugin</artifactId>
210 <version>2.3</version>
212 <createDependencyReducedPom>true</createDependencyReducedPom>
215 <artifact>*:*</artifact>
217 <exclude>META-INF/*.SF</exclude>
218 <exclude>META-INF/*.DSA</exclude>
219 <exclude>META-INF/*.RSA</exclude>
226 <phase>package</phase>
232 <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
233 <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
234 <mainClass>org.onap.sfc.SfcDriver</mainClass>
242 <groupId>org.apache.maven.plugins</groupId>
243 <artifactId>maven-dependency-plugin</artifactId>
246 <id>copy-dependencies</id>
247 <phase>package</phase>
249 <goal>copy-dependencies</goal>
254 <groupId>io.dropwizard</groupId>
255 <artifactId>dropwizard-core</artifactId>
256 <version>${dropwizard.version}</version>
257 <overWrite>true</overWrite>