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