Change the dependenies to fix Nexus IQ issues
[holmes/dsa.git] / dmaap-dsa / pom.xml
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <!--
3   ~ Copyright 2017 ZTE Corporation.
4   ~
5   ~ Licensed under the Apache License, Version 2.0 (the "License");
6   ~ you may not use this file except in compliance with the License.
7   ~ You may obtain a copy of the License at
8   ~
9   ~     http://www.apache.org/licenses/LICENSE-2.0
10   ~
11   ~ Unless required by applicable law or agreed to in writing, software
12   ~ distributed under the License is distributed on an "AS IS" BASIS,
13   ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   ~ See the License for the specific language governing permissions and
15   ~ limitations under the License.
16   -->
17 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
18          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
19
20     <modelVersion>4.0.0</modelVersion>
21     <parent>
22         <groupId>org.onap.holmes.dsa</groupId>
23         <artifactId>holmes-dsa-parent</artifactId>
24         <version>1.1.0-SNAPSHOT</version>
25     </parent>
26
27     <artifactId>dmaap-dsa</artifactId>
28     <name>holmes-dmaap-dsa</name>
29     <packaging>jar</packaging>
30
31     <dependencies>
32         <dependency>
33             <groupId>org.hibernate</groupId>
34             <artifactId>hibernate-validator</artifactId>
35             <version>5.4.2.Final</version>
36         </dependency>
37         <dependency>
38             <groupId>org.onap.msb.java-sdk</groupId>
39             <artifactId>msb-java-sdk</artifactId>
40             <exclusions>
41                 <exclusion>
42                     <groupId>com.eclipsesource.jaxrs</groupId>
43                     <artifactId>jersey-all</artifactId>
44                 </exclusion>
45                 <exclusion>
46                     <groupId>ch.qos.logback</groupId>
47                     <artifactId>logback-classic</artifactId>
48                 </exclusion>
49                 <exclusion>
50                     <groupId>com.fasterxml.jackson.core</groupId>
51                     <artifactId>jackson-databind</artifactId>
52                 </exclusion>
53                 <exclusion>
54                     <groupId>com.fasterxml.jackson.core</groupId>
55                     <artifactId>jackson-core</artifactId>
56                 </exclusion>
57             </exclusions>
58         </dependency>
59         <dependency>
60             <groupId>org.onap.holmes.common</groupId>
61             <artifactId>holmes-actions</artifactId>
62             <exclusions>
63                 <exclusion>
64                     <groupId>org.glassfish.jersey.containers</groupId>
65                     <artifactId>jersey-container-servlet-core</artifactId>
66                 </exclusion>
67                 <exclusion>
68                     <groupId>org.apache.activemq</groupId>
69                     <artifactId>activemq-core</artifactId>
70                 </exclusion>
71             </exclusions>
72         </dependency>
73         <dependency>
74             <groupId>org.easymock</groupId>
75             <artifactId>easymock</artifactId>
76         </dependency>
77         <dependency>
78             <groupId>io.dropwizard</groupId>
79             <artifactId>dropwizard-db</artifactId>
80         </dependency>
81         <dependency>
82             <groupId>org.antlr</groupId>
83             <artifactId>stringtemplate</artifactId>
84         </dependency>
85         <dependency>
86             <groupId>io.dropwizard</groupId>
87             <artifactId>dropwizard-core</artifactId>
88             <exclusions>
89                 <exclusion>
90                     <groupId>ch.qos.logback</groupId>
91                     <artifactId>logback</artifactId>
92                 </exclusion>
93                 <exclusion>
94                     <groupId>ch.qos.logback</groupId>
95                     <artifactId>logback-classic</artifactId>
96                 </exclusion>
97                 <exclusion>
98                     <artifactId>log4j-over-slf4j</artifactId>
99                     <groupId>org.slf4j</groupId>
100                 </exclusion>
101                 <exclusion>
102                     <groupId>org.hibernate</groupId>
103                     <artifactId>hibernate-validator</artifactId>
104                 </exclusion>
105             </exclusions>
106         </dependency>
107
108         <dependency>
109             <groupId>net.sf.json-lib</groupId>
110             <artifactId>json-lib</artifactId>
111             <version>2.4</version>
112             <classifier>jdk15</classifier>
113             <exclusions>
114                 <exclusion>
115                     <groupId>commons-collections</groupId>
116                     <artifactId>commons-collections</artifactId>
117                 </exclusion>
118                 <exclusion>
119                     <groupId>commons-beanutils</groupId>
120                     <artifactId>commons-beanutils</artifactId>
121                 </exclusion>
122             </exclusions>
123         </dependency>
124         <dependency>
125             <groupId>commons-collections</groupId>
126             <artifactId>commons-collections</artifactId>
127             <version>3.2.2</version>
128         </dependency>
129         <dependency>
130             <groupId>com.alibaba</groupId>
131             <artifactId>fastjson</artifactId>
132             <version>1.1.23</version>
133         </dependency>
134
135         <dependency>
136             <groupId>org.projectlombok</groupId>
137             <artifactId>lombok</artifactId>
138         </dependency>
139         <dependency>
140             <groupId>org.quartz-scheduler</groupId>
141             <artifactId>quartz</artifactId>
142         </dependency>
143         <dependency>
144             <groupId>junit</groupId>
145             <artifactId>junit</artifactId>
146         </dependency>
147         <dependency>
148             <groupId>org.hamcrest</groupId>
149             <artifactId>hamcrest-core</artifactId>
150         </dependency>
151         <dependency>
152             <groupId>org.powermock</groupId>
153             <artifactId>powermock-module-junit4</artifactId>
154         </dependency>
155         <dependency>
156             <groupId>org.slf4j</groupId>
157             <artifactId>slf4j-api</artifactId>
158         </dependency>
159         <dependency>
160             <groupId>io.swagger</groupId>
161             <artifactId>swagger-jersey2-jaxrs</artifactId>
162             <scope>provided</scope>
163         </dependency>
164         <dependency>
165             <groupId>org.powermock</groupId>
166             <artifactId>powermock-api-easymock</artifactId>
167             <version>1.6.5</version>
168             <scope>test</scope>
169         </dependency>
170         <dependency>
171             <groupId>org.powermock</groupId>
172             <artifactId>powermock-api-mockito</artifactId>
173             <version>1.7.1</version>
174             <scope>test</scope>
175         </dependency>
176         <dependency>
177             <groupId>org.powermock</groupId>
178             <artifactId>powermock-module-junit4-rule</artifactId>
179             <version>1.6.5</version>
180             <scope>test</scope>
181         </dependency>
182         <dependency>
183             <groupId>org.powermock</groupId>
184             <artifactId>powermock-classloading-xstream</artifactId>
185             <version>1.6.5</version>
186             <scope>test</scope>
187         </dependency>
188         <dependency>
189             <groupId>org.hamcrest</groupId>
190             <artifactId>hamcrest-library</artifactId>
191             <version>1.3</version>
192             <scope>test</scope>
193         </dependency>
194         <dependency>
195             <groupId>org.easymock</groupId>
196             <artifactId>easymock</artifactId>
197             <version>3.0</version>
198             <scope>test</scope>
199         </dependency>
200         <dependency>
201             <groupId>org.javassist</groupId>
202             <artifactId>javassist</artifactId>
203             <version>3.22.0-GA</version>
204         </dependency>
205         <dependency>
206             <groupId>org.apache.httpcomponents</groupId>
207             <artifactId>httpclient</artifactId>
208             <version>4.5.3</version>
209         </dependency>
210         <dependency>
211             <groupId>com.googlecode.json-simple</groupId>
212             <artifactId>json-simple</artifactId>
213             <version>1.1.1</version>
214         </dependency>
215         <dependency>
216             <groupId>org.glassfish.jersey.core</groupId>
217             <artifactId>jersey-server</artifactId>
218             <version>${jersey.version}</version>
219         </dependency>
220         <dependency>
221             <groupId>org.glassfish.jersey.core</groupId>
222             <artifactId>jersey-client</artifactId>
223             <version>${jersey.version}</version>
224         </dependency>
225         <dependency>
226             <groupId>org.glassfish.jersey.core</groupId>
227             <artifactId>jersey-common</artifactId>
228             <version>${jersey.version}</version>
229         </dependency>
230         <dependency>
231             <groupId>org.glassfish.jersey.containers</groupId>
232             <artifactId>jersey-container-servlet-core</artifactId>
233             <version>${jersey.version}</version>
234         </dependency>
235         <dependency>
236             <groupId>com.google.guava</groupId>
237             <artifactId>guava</artifactId>
238             <version>19.0</version>
239             <exclusions>
240                 <exclusion>
241                     <groupId>com.fasterxml.jackson.core</groupId>
242                     <artifactId>jackson-core</artifactId>
243                 </exclusion>
244             </exclusions>
245         </dependency>
246
247     </dependencies>
248     <build>
249         <plugins>
250             <plugin>
251                 <groupId>org.apache.maven.plugins</groupId>
252                 <artifactId>maven-jar-plugin</artifactId>
253                 <configuration>
254                     <archive>
255                         <manifest>
256                             <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
257                         </manifest>
258                     </archive>
259                 </configuration>
260             </plugin>
261             <plugin>
262                 <groupId>org.apache.maven.plugins</groupId>
263                 <artifactId>maven-compiler-plugin</artifactId>
264                 <version>3.3</version>
265                 <configuration>
266                     <source>1.8</source>
267                     <target>1.8</target>
268                 </configuration>
269             </plugin>
270             <plugin>
271                 <groupId>org.apache.maven.plugins</groupId>
272                 <artifactId>maven-shade-plugin</artifactId>
273                 <configuration>
274                     <createDependencyReducedPom>true</createDependencyReducedPom>
275                     <filters>
276                         <filter>
277                             <artifact>*:*</artifact>
278                             <excludes>
279                                 <exclude>META-INF/*.SF</exclude>
280                                 <exclude>META-INF/*.DSA</exclude>
281                                 <exclude>META-INF/*.RSA</exclude>
282                             </excludes>
283                         </filter>
284                     </filters>
285                 </configuration>
286                 <executions>
287                     <execution>
288                         <phase>package</phase>
289                         <goals>
290                             <goal>shade</goal>
291                         </goals>
292                         <configuration>
293                             <transformers>
294                                 <transformer
295                                         implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
296                                 <transformer
297                                         implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
298                                     <mainClass>org.onap.holmes.dsa.DMaapDsaActiveApp</mainClass>
299                                 </transformer>
300                             </transformers>
301                         </configuration>
302                     </execution>
303                 </executions>
304             </plugin>
305
306         </plugins>
307         <resources>
308             <resource>
309                 <directory>src/main/java</directory>
310                 <includes>
311                     <include>**/*.properties</include>
312                 </includes>
313             </resource>
314             <resource>
315                 <directory>src/main/resources</directory>
316             </resource>
317         </resources>
318     </build>
319 </project>