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