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>
39 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
40 <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
41 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
42 <sonar.projectVersion>${project.version}</sonar.projectVersion>
43 <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
47 <dependencyManagement>
51 <groupId>org.glassfish.jersey.media</groupId>
52 <artifactId>jersey-media-multipart</artifactId>
53 <version>${jersey.version}</version>
57 <groupId>org.glassfish.jersey.containers</groupId>
58 <artifactId>jersey-container-servlet-core</artifactId>
59 <version>${jersey.version}</version>
63 <groupId>org.glassfish.jersey.containers</groupId>
64 <artifactId>jersey-container-servlet</artifactId>
65 <version>2.16</version>
68 <groupId>org.glassfish.jersey.core</groupId>
69 <artifactId>jersey-client</artifactId>
70 <version>2.16</version>
73 <groupId>org.glassfish.jersey.core</groupId>
74 <artifactId>jersey-common</artifactId>
75 <version>2.16</version>
79 <groupId>com.fasterxml.jackson.dataformat</groupId>
80 <artifactId>jackson-dataformat-xml</artifactId>
81 <version>${jackson-version}</version>
85 <groupId>org.glassfish.jersey.containers</groupId>
86 <artifactId>jersey-container-servlet-core</artifactId>
87 <version>${jersey.version}</version>
91 <groupId>org.glassfish.jersey.core</groupId>
92 <artifactId>jersey-common</artifactId>
93 <version>${jersey.version}</version>
97 <groupId>org.codehaus.jackson</groupId>
98 <artifactId>jackson-jaxrs</artifactId>
99 <version>1.9.11</version>
103 <groupId>com.fasterxml.jackson.core</groupId>
104 <artifactId>jackson-annotations</artifactId>
105 <version>${jackson-version}</version>
109 </dependencyManagement>
114 <groupId>io.dropwizard</groupId>
115 <artifactId>dropwizard-core</artifactId>
116 <version>${dropwizard.version}</version>
119 <groupId>io.dropwizard</groupId>
120 <artifactId>dropwizard-assets</artifactId>
121 <version>${dropwizard.version}</version>
124 <groupId>io.swagger</groupId>
125 <artifactId>swagger-jersey2-jaxrs</artifactId>
126 <version>${swagger.version}</version>
127 <scope>compile</scope>
130 <groupId>com.eclipsesource.jaxrs</groupId>
131 <artifactId>consumer</artifactId>
132 <version>2.3</version>
136 <groupId>com.google.code.gson</groupId>
137 <artifactId>gson</artifactId>
138 <version>2.2.4</version>
142 <groupId>junit</groupId>
143 <artifactId>junit</artifactId>
144 <version>${junit.version}</version>
149 <groupId>org.powermock</groupId>
150 <artifactId>powermock-module-junit4</artifactId>
151 <version>${powermock.version}</version>
155 <groupId>org.powermock</groupId>
156 <artifactId>powermock-api-mockito</artifactId>
157 <version>${powermock.version}</version>
161 <groupId>org.powermock</groupId>
162 <artifactId>powermock-core</artifactId>
163 <version>1.6.6</version>
166 <groupId>org.projectlombok</groupId>
167 <artifactId>lombok</artifactId>
168 <version>1.16.8</version>
172 <groupId>org.glassfish.jersey.core</groupId>
173 <artifactId>jersey-server</artifactId>
174 <version>${jersey.version}</version>
177 <groupId>org.glassfish.jersey.core</groupId>
178 <artifactId>jersey-client</artifactId>
179 <version>${jersey.version}</version>
182 <groupId>org.glassfish.jersey.core</groupId>
183 <artifactId>jersey-common</artifactId>
184 <version>${jersey.version}</version>
187 <groupId>org.glassfish.jersey.containers</groupId>
188 <artifactId>jersey-container-servlet-core</artifactId>
189 <version>${jersey.version}</version>
193 <groupId>ch.qos.logback</groupId>
194 <artifactId>logback-classic</artifactId>
195 <version>1.1.2</version>
201 <groupId>org.apache.maven.plugins</groupId>
202 <artifactId>maven-jar-plugin</artifactId>
203 <version>2.4</version>
207 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
213 <groupId>org.apache.maven.plugins</groupId>
214 <artifactId>maven-shade-plugin</artifactId>
215 <version>2.3</version>
217 <createDependencyReducedPom>true</createDependencyReducedPom>
220 <artifact>*:*</artifact>
222 <exclude>META-INF/*.SF</exclude>
223 <exclude>META-INF/*.DSA</exclude>
224 <exclude>META-INF/*.RSA</exclude>
231 <phase>package</phase>
237 <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
238 <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
239 <mainClass>org.onap.sfc.SfcDriver</mainClass>
247 <groupId>org.apache.maven.plugins</groupId>
248 <artifactId>maven-dependency-plugin</artifactId>
251 <id>copy-dependencies</id>
252 <phase>package</phase>
254 <goal>copy-dependencies</goal>
259 <groupId>io.dropwizard</groupId>
260 <artifactId>dropwizard-core</artifactId>
261 <version>${dropwizard.version}</version>
262 <overWrite>true</overWrite>
270 <groupId>org.jacoco</groupId>
271 <artifactId>jacoco-maven-plugin</artifactId>
274 <id>prepare-agent</id>
276 <goal>prepare-agent</goal>
285 <dataFile>${project.build.directory}/code-coverage/jacoco.exec</dataFile>
286 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>