commons-collections from 3.2.1 to 3.2.2
[sdc/sdc-workflow-designer.git] / sdc-workflow-designer-server / pom.xml
1 <?xml version="1.0"?>
2 <!--
3     Copyright (c) 2017-2018 ZTE Corporation.
4     All rights reserved. This program and the accompanying materials
5     are made available under the terms of the Eclipse Public License v1.0
6     and the Apache License 2.0 which both accompany this distribution,
7     and are available at http://www.eclipse.org/legal/epl-v10.html
8     and http://www.apache.org/licenses/LICENSE-2.0
9
10     Contributors:
11         ZTE - initial API and implementation and/or initial documentation
12 -->
13 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
14     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
15
16     <parent>
17         <groupId>org.onap.sdc.sdc-workflow-designer</groupId>
18         <artifactId>sdc-workflow-designer</artifactId>
19         <version>1.1.0-SNAPSHOT</version>
20     </parent>
21
22     <modelVersion>4.0.0</modelVersion>
23     <groupId>org.onap.sdc.sdc-workflow-designer</groupId>
24     <artifactId>sdc-workflow-designer-server</artifactId>
25     <name>sdc-workflow-designer-server</name>
26     <packaging>jar</packaging>
27     
28     <properties>
29         <velocity.version>1.7</velocity.version>
30         <commons-collections.version>3.2.2</commons-collections.version>
31         <commons-io.version>2.4</commons-io.version>
32         <dom4j.version>1.6.1</dom4j.version>
33         <dropwizard.version>1.2.2</dropwizard.version>
34         <swagger.version>1.5.3</swagger.version>
35         <jersey.version>2.16</jersey.version>
36         <jaxrs.consumer.version>5.0</jaxrs.consumer.version>
37         <gson.version>2.2.4</gson.version>
38         <junit.version>4.10</junit.version>
39     </properties>
40     
41     <build>
42         <plugins>
43             <plugin>
44                 <groupId>org.apache.maven.plugins</groupId>
45                 <artifactId>maven-shade-plugin</artifactId>
46                 <configuration>
47                     <createDependencyReducedPom>true</createDependencyReducedPom>
48                     <filters>
49                         <filter>
50                             <artifact>*:*</artifact>
51                             <excludes>
52                                 <exclude>META-INF/*.SF</exclude>
53                                 <exclude>META-INF/*.DSA</exclude>
54                                 <exclude>META-INF/*.RSA</exclude>
55                             </excludes>
56                         </filter>
57                     </filters>
58                 </configuration>
59                 <executions>
60                     <execution>
61                         <phase>package</phase>
62                         <goals>
63                             <goal>shade</goal>
64                         </goals>
65                         <configuration>
66                             <transformers>
67                                 <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
68                                 <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
69                                     <mainClass>org.onap.sdc.workflowdesigner.WorkflowDesignerApp</mainClass>
70                                 </transformer>
71                             </transformers>
72                         </configuration>
73                     </execution>
74                 </executions>
75             </plugin>
76             
77             <plugin>
78                 <groupId>org.apache.maven.plugins</groupId>
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             
101         </plugins>
102     </build>
103
104     <dependencies>
105         <!-- dropwizard -->
106         <dependency>
107             <groupId>io.dropwizard</groupId>
108             <artifactId>dropwizard-core</artifactId>
109             <version>${dropwizard.version}</version>
110         </dependency>
111         <dependency>
112             <groupId>io.dropwizard</groupId>
113             <artifactId>dropwizard-assets</artifactId>
114             <version>${dropwizard.version}</version>
115         </dependency>
116         
117         <!-- swagger -->
118         <dependency>
119             <groupId>io.swagger</groupId>
120             <artifactId>swagger-jersey2-jaxrs</artifactId>
121             <version>${swagger.version}</version>
122             <exclusions>
123                 <exclusion>
124                     <groupId>com.fasterxml.jackson.dataformat</groupId>
125                     <artifactId>jackson-dataformat-xml</artifactId>
126                 </exclusion>
127             </exclusions>
128         </dependency>
129         
130         <!-- jersey -->
131         <dependency>
132             <groupId>org.glassfish.jersey.core</groupId>
133             <artifactId>jersey-server</artifactId>
134             <version>${jersey.version}</version>
135         </dependency>
136         <dependency>
137             <groupId>org.glassfish.jersey.media</groupId>
138             <artifactId>jersey-media-multipart</artifactId>
139             <version>${jersey.version}</version>
140         </dependency>
141         <dependency>
142             <groupId>org.glassfish.jersey.containers</groupId>
143             <artifactId>jersey-container-servlet-core</artifactId>
144             <version>${jersey.version}</version>
145         </dependency>
146         
147         <dependency>
148             <groupId>commons-io</groupId>
149             <artifactId>commons-io</artifactId>
150             <version>${commons-io.version}</version>
151         </dependency>
152         
153         <!-- gson -->
154         <dependency>
155             <groupId>com.google.code.gson</groupId>
156             <artifactId>gson</artifactId>
157             <version>${gson.version}</version>
158         </dependency>
159         
160         <!-- consumer -->
161         <dependency>
162             <groupId>com.eclipsesource.jaxrs</groupId>
163             <artifactId>consumer</artifactId>
164             <version>${jaxrs.consumer.version}</version>
165             <exclusions>
166                 <exclusion>
167                     <groupId>com.eclipsesource.jaxrs</groupId>
168                     <artifactId>jersey-all</artifactId>
169                 </exclusion>
170             </exclusions>
171         </dependency>
172
173         <dependency>
174             <groupId>org.apache.velocity</groupId>
175             <artifactId>velocity</artifactId>
176             <version>${velocity.version}</version>
177             <exclusions>
178                 <exclusion>
179                     <groupId>commons-collections</groupId>
180                     <artifactId>commons-collections</artifactId>
181                 </exclusion>
182             </exclusions>
183         </dependency>
184         
185         <dependency>
186             <groupId>commons-collections</groupId>
187             <artifactId>commons-collections</artifactId>
188             <version>${commons-collections.version}</version>
189         </dependency>
190         
191         <dependency>
192             <groupId>junit</groupId>
193             <artifactId>junit</artifactId>
194             <version>${junit.version}</version>
195         </dependency>
196         
197         <dependency>
198             <groupId>dom4j</groupId>
199             <artifactId>dom4j</artifactId>
200             <version>${dom4j.version}</version>
201         </dependency>
202     </dependencies>
203     
204 </project>