Bump minor 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             </exclusions>
75         </dependency>
76         <dependency>
77             <groupId>org.projectlombok</groupId>
78             <artifactId>lombok</artifactId>
79         </dependency>
80         <dependency>
81             <groupId>org.quartz-scheduler</groupId>
82             <artifactId>quartz</artifactId>
83         </dependency>
84         <dependency>
85             <groupId>junit</groupId>
86             <artifactId>junit</artifactId>
87         </dependency>
88         <dependency>
89             <groupId>org.hamcrest</groupId>
90             <artifactId>hamcrest-core</artifactId>
91         </dependency>
92         <dependency>
93             <groupId>org.powermock</groupId>
94             <artifactId>powermock-module-junit4</artifactId>
95         </dependency>
96         <dependency>
97             <groupId>org.slf4j</groupId>
98             <artifactId>slf4j-api</artifactId>
99         </dependency>
100         <dependency>
101             <groupId>io.swagger</groupId>
102             <artifactId>swagger-jersey2-jaxrs</artifactId>
103             <scope>provided</scope>
104         </dependency>
105         <dependency>
106             <groupId>org.powermock</groupId>
107             <artifactId>powermock-api-easymock</artifactId>
108             <version>1.6.5</version>
109             <scope>test</scope>
110         </dependency>
111         <dependency>
112             <groupId>org.powermock</groupId>
113             <artifactId>powermock-module-junit4-rule</artifactId>
114             <version>1.6.5</version>
115             <scope>test</scope>
116         </dependency>
117         <dependency>
118             <groupId>org.powermock</groupId>
119             <artifactId>powermock-classloading-xstream</artifactId>
120             <version>1.6.5</version>
121             <scope>test</scope>
122         </dependency>
123         <dependency>
124             <groupId>org.hamcrest</groupId>
125             <artifactId>hamcrest-library</artifactId>
126             <version>1.3</version>
127             <scope>test</scope>
128         </dependency>
129         <dependency>
130             <groupId>org.easymock</groupId>
131             <artifactId>easymock</artifactId>
132             <version>3.0</version>
133             <scope>test</scope>
134         </dependency>
135         <dependency>
136             <groupId>org.javassist</groupId>
137             <artifactId>javassist</artifactId>
138             <version>3.15.0-GA</version>
139         </dependency>
140         <dependency>
141             <groupId>org.apache.httpcomponents</groupId>
142             <artifactId>httpclient</artifactId>
143             <version>4.5.3</version>
144         </dependency>
145         <dependency>
146             <groupId>com.googlecode.json-simple</groupId>
147             <artifactId>json-simple</artifactId>
148             <version>1.1.1</version>
149         </dependency>
150         <dependency>
151             <groupId>net.sf.json-lib</groupId>
152             <artifactId>json-lib</artifactId>
153             <version>2.4</version>
154             <classifier>jdk15</classifier>
155         </dependency>
156         <dependency>
157             <groupId>org.glassfish.jersey.core</groupId>
158             <artifactId>jersey-server</artifactId>
159             <version>${jersey.version}</version>
160         </dependency>
161         <dependency>
162             <groupId>org.glassfish.jersey.core</groupId>
163             <artifactId>jersey-client</artifactId>
164             <version>${jersey.version}</version>
165         </dependency>
166         <dependency>
167             <groupId>org.glassfish.jersey.core</groupId>
168             <artifactId>jersey-common</artifactId>
169             <version>${jersey.version}</version>
170         </dependency>
171         <dependency>
172             <groupId>org.glassfish.jersey.containers</groupId>
173             <artifactId>jersey-container-servlet-core</artifactId>
174             <version>${jersey.version}</version>
175         </dependency>
176         <dependency>
177             <groupId>com.google.guava</groupId>
178             <artifactId>guava</artifactId>
179             <version>19.0</version>
180         </dependency>
181
182     </dependencies>
183     <build>
184         <plugins>
185             <plugin>
186                 <groupId>org.apache.maven.plugins</groupId>
187                 <artifactId>maven-jar-plugin</artifactId>
188                 <configuration>
189                     <archive>
190                         <manifest>
191                             <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
192                         </manifest>
193                     </archive>
194                 </configuration>
195             </plugin>
196             <plugin>
197                 <groupId>org.apache.maven.plugins</groupId>
198                 <artifactId>maven-compiler-plugin</artifactId>
199                 <version>3.3</version>
200                 <configuration>
201                     <source>1.8</source>
202                     <target>1.8</target>
203                 </configuration>
204             </plugin>
205             <plugin>
206                 <groupId>org.apache.maven.plugins</groupId>
207                 <artifactId>maven-shade-plugin</artifactId>
208                 <configuration>
209                     <createDependencyReducedPom>true</createDependencyReducedPom>
210                     <filters>
211                         <filter>
212                             <artifact>*:*</artifact>
213                             <excludes>
214                                 <exclude>META-INF/*.SF</exclude>
215                                 <exclude>META-INF/*.DSA</exclude>
216                                 <exclude>META-INF/*.RSA</exclude>
217                             </excludes>
218                         </filter>
219                     </filters>
220                 </configuration>
221                 <executions>
222                     <execution>
223                         <phase>package</phase>
224                         <goals>
225                             <goal>shade</goal>
226                         </goals>
227                         <configuration>
228                             <transformers>
229                                 <transformer
230                                     implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
231                                 <transformer
232                                     implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
233                                     <mainClass>org.onap.holmes.dsa.DMaapDsaActiveApp</mainClass>
234                                 </transformer>
235                             </transformers>
236                         </configuration>
237                     </execution>
238                 </executions>
239             </plugin>
240
241         </plugins>
242         <resources>
243             <resource>
244                 <directory>src/main/java</directory>
245                 <includes>
246                     <include>**/*.properties</include>
247                 </includes>
248             </resource>
249             <resource>
250                 <directory>src/main/resources</directory>
251             </resource>
252         </resources>
253     </build>
254 </project>