change version
[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.onap.msb.java-sdk</groupId>
34             <artifactId>msb-java-sdk</artifactId>
35         </dependency>
36         <dependency>
37             <groupId>org.onap.holmes.common</groupId>
38             <artifactId>holmes-actions</artifactId>
39             <exclusions>
40                 <exclusion>
41                     <groupId>org.glassfish.jersey.containers</groupId>
42                     <artifactId>jersey-container-servlet-core</artifactId>
43                 </exclusion>
44                 <exclusion>
45                     <groupId>org.apache.activemq</groupId>
46                     <artifactId>activemq-core</artifactId>
47                 </exclusion>
48             </exclusions>
49         </dependency>
50         <dependency>
51             <groupId>org.easymock</groupId>
52             <artifactId>easymock</artifactId>
53         </dependency>
54         <dependency>
55             <groupId>io.dropwizard</groupId>
56             <artifactId>dropwizard-db</artifactId>
57         </dependency>
58         <dependency>
59             <groupId>org.antlr</groupId>
60             <artifactId>stringtemplate</artifactId>
61         </dependency>
62         <dependency>
63             <groupId>io.dropwizard</groupId>
64             <artifactId>dropwizard-core</artifactId>
65             <exclusions>
66                 <exclusion>
67                     <groupId>ch.qos.logback</groupId>
68                     <artifactId>logback</artifactId>
69                 </exclusion>
70                 <exclusion>
71                     <artifactId>log4j-over-slf4j</artifactId>
72                     <groupId>org.slf4j</groupId>
73                 </exclusion>
74                 <exclusion>
75                     <groupId>com.fasterxml.jackson.core</groupId>
76                     <artifactId>jackson-databind</artifactId>
77                 </exclusion>
78                 <exclusion>
79                     <groupId>com.fasterxml.jackson.core</groupId>
80                     <artifactId>jackson-core</artifactId>
81                 </exclusion>
82             </exclusions>
83         </dependency>
84
85         <dependency>
86             <groupId>net.sf.json-lib</groupId>
87             <artifactId>json-lib</artifactId>
88             <version>2.4</version>
89             <classifier>jdk15</classifier>
90             <exclusions>
91                 <exclusion>
92                     <groupId>commons-collections</groupId>
93                     <artifactId>commons-collections</artifactId>
94                 </exclusion>
95                 <exclusion>
96                     <groupId>commons-beanutils</groupId>
97                     <artifactId>commons-beanutils</artifactId>
98                 </exclusion>
99             </exclusions>
100         </dependency>
101         <dependency>
102             <groupId>commons-collections</groupId>
103             <artifactId>commons-collections</artifactId>
104             <version>3.2.2</version>
105         </dependency>
106         <dependency>
107             <groupId>com.alibaba</groupId>
108             <artifactId>fastjson</artifactId>
109             <version>1.1.23</version>
110         </dependency>
111
112         <dependency>
113             <groupId>org.projectlombok</groupId>
114             <artifactId>lombok</artifactId>
115         </dependency>
116         <dependency>
117             <groupId>org.quartz-scheduler</groupId>
118             <artifactId>quartz</artifactId>
119         </dependency>
120         <dependency>
121             <groupId>junit</groupId>
122             <artifactId>junit</artifactId>
123         </dependency>
124         <dependency>
125             <groupId>org.hamcrest</groupId>
126             <artifactId>hamcrest-core</artifactId>
127         </dependency>
128         <dependency>
129             <groupId>org.powermock</groupId>
130             <artifactId>powermock-module-junit4</artifactId>
131         </dependency>
132         <dependency>
133             <groupId>org.slf4j</groupId>
134             <artifactId>slf4j-api</artifactId>
135         </dependency>
136         <dependency>
137             <groupId>io.swagger</groupId>
138             <artifactId>swagger-jersey2-jaxrs</artifactId>
139             <scope>provided</scope>
140         </dependency>
141         <dependency>
142             <groupId>org.powermock</groupId>
143             <artifactId>powermock-api-easymock</artifactId>
144             <version>1.6.5</version>
145             <scope>test</scope>
146         </dependency>
147         <dependency>
148             <groupId>org.powermock</groupId>
149             <artifactId>powermock-module-junit4-rule</artifactId>
150             <version>1.6.5</version>
151             <scope>test</scope>
152         </dependency>
153         <dependency>
154             <groupId>org.powermock</groupId>
155             <artifactId>powermock-classloading-xstream</artifactId>
156             <version>1.6.5</version>
157             <scope>test</scope>
158         </dependency>
159         <dependency>
160             <groupId>org.hamcrest</groupId>
161             <artifactId>hamcrest-library</artifactId>
162             <version>1.3</version>
163             <scope>test</scope>
164         </dependency>
165         <dependency>
166             <groupId>org.easymock</groupId>
167             <artifactId>easymock</artifactId>
168             <version>3.0</version>
169             <scope>test</scope>
170         </dependency>
171         <dependency>
172             <groupId>org.javassist</groupId>
173             <artifactId>javassist</artifactId>
174             <version>3.15.0-GA</version>
175         </dependency>
176         <dependency>
177             <groupId>org.apache.httpcomponents</groupId>
178             <artifactId>httpclient</artifactId>
179             <version>4.5.3</version>
180         </dependency>
181         <dependency>
182             <groupId>com.googlecode.json-simple</groupId>
183             <artifactId>json-simple</artifactId>
184             <version>1.1.1</version>
185         </dependency>
186         <dependency>
187             <groupId>org.glassfish.jersey.core</groupId>
188             <artifactId>jersey-server</artifactId>
189             <version>${jersey.version}</version>
190         </dependency>
191         <dependency>
192             <groupId>org.glassfish.jersey.core</groupId>
193             <artifactId>jersey-client</artifactId>
194             <version>${jersey.version}</version>
195         </dependency>
196         <dependency>
197             <groupId>org.glassfish.jersey.core</groupId>
198             <artifactId>jersey-common</artifactId>
199             <version>${jersey.version}</version>
200         </dependency>
201         <dependency>
202             <groupId>org.glassfish.jersey.containers</groupId>
203             <artifactId>jersey-container-servlet-core</artifactId>
204             <version>${jersey.version}</version>
205         </dependency>
206         <dependency>
207             <groupId>com.google.guava</groupId>
208             <artifactId>guava</artifactId>
209             <version>19.0</version>
210             <exclusions>
211                 <exclusion>
212                     <groupId>com.fasterxml.jackson.core</groupId>
213                     <artifactId>jackson-core</artifactId>
214                 </exclusion>
215             </exclusions>
216         </dependency>
217
218     </dependencies>
219     <build>
220         <plugins>
221             <plugin>
222                 <groupId>org.apache.maven.plugins</groupId>
223                 <artifactId>maven-jar-plugin</artifactId>
224                 <configuration>
225                     <archive>
226                         <manifest>
227                             <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
228                         </manifest>
229                     </archive>
230                 </configuration>
231             </plugin>
232             <plugin>
233                 <groupId>org.apache.maven.plugins</groupId>
234                 <artifactId>maven-compiler-plugin</artifactId>
235                 <version>3.3</version>
236                 <configuration>
237                     <source>1.8</source>
238                     <target>1.8</target>
239                 </configuration>
240             </plugin>
241             <plugin>
242                 <groupId>org.apache.maven.plugins</groupId>
243                 <artifactId>maven-shade-plugin</artifactId>
244                 <configuration>
245                     <createDependencyReducedPom>true</createDependencyReducedPom>
246                     <filters>
247                         <filter>
248                             <artifact>*:*</artifact>
249                             <excludes>
250                                 <exclude>META-INF/*.SF</exclude>
251                                 <exclude>META-INF/*.DSA</exclude>
252                                 <exclude>META-INF/*.RSA</exclude>
253                             </excludes>
254                         </filter>
255                     </filters>
256                 </configuration>
257                 <executions>
258                     <execution>
259                         <phase>package</phase>
260                         <goals>
261                             <goal>shade</goal>
262                         </goals>
263                         <configuration>
264                             <transformers>
265                                 <transformer
266                                     implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
267                                 <transformer
268                                     implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
269                                     <mainClass>org.onap.holmes.dsa.DMaapDsaActiveApp</mainClass>
270                                 </transformer>
271                             </transformers>
272                         </configuration>
273                     </execution>
274                 </executions>
275             </plugin>
276
277         </plugins>
278         <resources>
279             <resource>
280                 <directory>src/main/java</directory>
281                 <includes>
282                     <include>**/*.properties</include>
283                 </includes>
284             </resource>
285             <resource>
286                 <directory>src/main/resources</directory>
287             </resource>
288         </resources>
289     </build>
290 </project>