Update pom file to test sonar job
[vfc/nfvo/driver/sfc.git] / zte / sfc-driver / sfc-driver / dependency-reduced-pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <!--
4
5     Copyright 2016-2017 ZTE Corporation.
6
7     Licensed under the Apache License, Version 2.0 (the "License");
8     you may not use this file except in compliance with the License.
9     You may obtain a copy of the License at
10
11             http://www.apache.org/licenses/LICENSE-2.0
12
13     Unless required by applicable law or agreed to in writing, software
14     distributed under the License is distributed on an "AS IS" BASIS,
15     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16     See the License for the specific language governing permissions and
17     limitations under the License.
18
19 -->
20
21 <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/maven-v4_0_0.xsd">
22   <parent>
23     <artifactId>sfc-driver-parent</artifactId>
24     <groupId>org.onap.vfc.nfvo.driver.sfc</groupId>
25     <version>1.0.0-SNAPSHOT</version>
26   </parent>
27   <modelVersion>4.0.0</modelVersion>
28   <groupId>org.onap.nfvo.sfc.components.sfc-driver</groupId>
29   <artifactId>sfc-driver</artifactId>
30   <name>sdno/20.components/sfc-driver</name>
31   <version>1.0.0-SNAPSHOT</version>
32   <build>
33     <plugins>
34       <plugin>
35         <artifactId>maven-jar-plugin</artifactId>
36         <version>2.4</version>
37         <configuration>
38           <archive>
39             <manifest>
40               <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
41             </manifest>
42           </archive>
43         </configuration>
44       </plugin>
45       <plugin>
46         <artifactId>maven-shade-plugin</artifactId>
47         <version>2.3</version>
48         <executions>
49           <execution>
50             <phase>package</phase>
51             <goals>
52               <goal>shade</goal>
53             </goals>
54             <configuration>
55               <transformers>
56                 <transformer />
57                 <transformer>
58                   <mainClass>com.zte.ums.sfc.console.SfcApp</mainClass>
59                 </transformer>
60               </transformers>
61             </configuration>
62           </execution>
63         </executions>
64         <configuration>
65           <createDependencyReducedPom>true</createDependencyReducedPom>
66           <filters>
67             <filter>
68               <artifact>*:*</artifact>
69               <excludes>
70                 <exclude>META-INF/*.SF</exclude>
71                 <exclude>META-INF/*.DSA</exclude>
72                 <exclude>META-INF/*.RSA</exclude>
73               </excludes>
74             </filter>
75           </filters>
76         </configuration>
77       </plugin>
78       <plugin>
79         <artifactId>maven-dependency-plugin</artifactId>
80         <executions>
81           <execution>
82             <id>copy-dependencies</id>
83             <phase>package</phase>
84             <goals>
85               <goal>copy-dependencies</goal>
86             </goals>
87             <configuration>
88               <artifactItems>
89                 <artifactItem>
90                   <groupId>io.dropwizard</groupId>
91                   <artifactId>dropwizard-core</artifactId>
92                   <version>${dropwizard.version}</version>
93                   <overWrite>true</overWrite>
94                 </artifactItem>
95               </artifactItems>
96             </configuration>
97           </execution>
98         </executions>
99       </plugin>
100     </plugins>
101   </build>
102   <dependencyManagement>
103     <dependencies>
104       <dependency>
105         <groupId>org.glassfish.jersey.media</groupId>
106         <artifactId>jersey-media-multipart</artifactId>
107         <version>${jersey.version}</version>
108       </dependency>
109       <dependency>
110         <groupId>org.glassfish.jersey.containers</groupId>
111         <artifactId>jersey-container-servlet-core</artifactId>
112         <version>${jersey.version}</version>
113       </dependency>
114       <dependency>
115         <groupId>org.glassfish.jersey.containers</groupId>
116         <artifactId>jersey-container-servlet</artifactId>
117         <version>2.16</version>
118       </dependency>
119       <dependency>
120         <groupId>org.glassfish.jersey.core</groupId>
121         <artifactId>jersey-client</artifactId>
122         <version>2.16</version>
123       </dependency>
124       <dependency>
125         <groupId>org.glassfish.jersey.core</groupId>
126         <artifactId>jersey-common</artifactId>
127         <version>2.16</version>
128       </dependency>
129       <dependency>
130         <groupId>com.fasterxml.jackson.dataformat</groupId>
131         <artifactId>jackson-dataformat-xml</artifactId>
132         <version>${jackson-version}</version>
133       </dependency>
134       <dependency>
135         <groupId>org.codehaus.jackson</groupId>
136         <artifactId>jackson-jaxrs</artifactId>
137         <version>1.9.11</version>
138       </dependency>
139       <dependency>
140         <groupId>com.fasterxml.jackson.core</groupId>
141         <artifactId>jackson-annotations</artifactId>
142         <version>${jackson-version}</version>
143       </dependency>
144       <dependency>
145         <groupId>com.google.code.gson</groupId>
146         <artifactId>gson</artifactId>
147         <version>2.2.4</version>
148       </dependency>
149     </dependencies>
150   </dependencyManagement>
151   <properties>
152     <dropwizard.version>0.8.0</dropwizard.version>
153     <swagger.version>1.5.3</swagger.version>
154     <jersey.version>2.16</jersey.version>
155     <jetty.version>9.2.9.v20150224</jetty.version>
156     <jackson-version>2.5.1</jackson-version>
157   </properties>
158 </project>
159