Fixed the Start-up Failure in the Dualstack Env
[holmes/engine-management.git] / pom.xml
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <!--
3   ~ Copyright 2017-2020 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"
18          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
19          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
20     <modelVersion>4.0.0</modelVersion>
21     <parent>
22         <groupId>org.onap.oparent</groupId>
23         <artifactId>oparent</artifactId>
24         <version>3.0.0</version>
25     </parent>
26
27     <groupId>org.onap.holmes.engine-management</groupId>
28     <artifactId>holmes-engine-parent</artifactId>
29     <version>1.3.3-SNAPSHOT</version>
30     <packaging>pom</packaging>
31     <name>holmes-engine-management</name>
32     <modules>
33         <module>engine-d</module>
34         <module>engine-d-standalone</module>
35     </modules>
36
37     <properties>
38         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
39         <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
40         <maven.test.failure.ignore>false</maven.test.failure.ignore>
41
42         <finalName>${project.artifactId}-${project.version}</finalName>
43         <release.dir>${basedir}/target</release.dir>
44         <bundle.name>${project.artifactId}-${project.version}</bundle.name>
45
46         <drools.version>6.5.0.Final</drools.version>
47         <dropwizard.version>2.0.9</dropwizard.version>
48         <powermock.version>2.0.7</powermock.version>
49         <jacoco.version>0.8.5</jacoco.version>
50
51         <packagename>onap-holmes-engine-d</packagename>
52         <linux64id>linux64</linux64id>
53         <linux64outputdir>target/assembly/${linux64id}</linux64outputdir>
54         <version.output>target/version</version.output>
55
56         <sonar.coverage.jacoco.xmlReportPaths>
57             ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml
58         </sonar.coverage.jacoco.xmlReportPaths>
59     </properties>
60
61     <dependencies>
62         <dependency>
63             <groupId>ch.qos.logback</groupId>
64             <artifactId>logback-classic</artifactId>
65             <version>1.2.3</version>
66         </dependency>
67         <dependency>
68             <groupId>org.postgresql</groupId>
69             <artifactId>postgresql</artifactId>
70             <version>42.2.13</version>
71         </dependency>
72         <dependency>
73             <groupId>io.dropwizard</groupId>
74             <artifactId>dropwizard-core</artifactId>
75             <version>${dropwizard.version}</version>
76             <exclusions>
77                 <exclusion>
78                     <groupId>org.hibernate.validator</groupId>
79                     <artifactId>hibernate-validator</artifactId>
80                 </exclusion>
81             </exclusions>
82         </dependency>
83         <dependency>
84             <groupId>org.hibernate.validator</groupId>
85             <artifactId>hibernate-validator</artifactId>
86             <version>6.1.5.Final</version>
87         </dependency>
88         <dependency>
89             <groupId>io.dropwizard</groupId>
90             <artifactId>dropwizard-db</artifactId>
91             <version>${dropwizard.version}</version>
92         </dependency>
93         <dependency>
94             <groupId>io.dropwizard</groupId>
95             <artifactId>dropwizard-jdbi</artifactId>
96             <version>2.0.0-rc9</version>
97         </dependency>
98         <dependency>
99             <groupId>org.projectlombok</groupId>
100             <artifactId>lombok</artifactId>
101             <version>1.18.4</version>
102         </dependency>
103         <dependency>
104             <groupId>org.javassist</groupId>
105             <artifactId>javassist</artifactId>
106             <version>3.24.1-GA</version>
107         </dependency>
108         <dependency>
109             <groupId>commons-collections</groupId>
110             <artifactId>commons-collections</artifactId>
111             <version>3.2.2</version>
112         </dependency>
113         <dependency>
114             <groupId>net.sf.json-lib</groupId>
115             <artifactId>json-lib</artifactId>
116             <version>2.4</version>
117             <classifier>jdk15</classifier>
118             <exclusions>
119                 <exclusion>
120                     <groupId>commons-collections</groupId>
121                     <artifactId>commons-collections</artifactId>
122                 </exclusion>
123                 <exclusion>
124                     <groupId>commons-beanutils</groupId>
125                     <artifactId>commons-beanutils</artifactId>
126                 </exclusion>
127             </exclusions>
128         </dependency>
129         <dependency>
130             <groupId>org.onap.msb.java-sdk</groupId>
131             <artifactId>msb-java-sdk</artifactId>
132             <version>1.2.5</version>
133             <exclusions>
134                 <exclusion>
135                     <groupId>ch.qos.logback</groupId>
136                     <artifactId>logback-classic</artifactId>
137                 </exclusion>
138                 <exclusion>
139                     <groupId>com.fasterxml.jackson.core</groupId>
140                     <artifactId>jackson-databind</artifactId>
141                 </exclusion>
142                 <exclusion>
143                     <groupId>com.fasterxml.jackson.core</groupId>
144                     <artifactId>jackson-core</artifactId>
145                 </exclusion>
146                 <exclusion>
147                     <groupId>org.slf4j</groupId>
148                     <artifactId>slf4j-api</artifactId>
149                 </exclusion>
150                 <exclusion>
151                     <groupId>org.eclipse.jetty</groupId>
152                     <artifactId>jetty-server</artifactId>
153                 </exclusion>
154                 <exclusion>
155                     <groupId>com.squareup.okhttp3</groupId>
156                     <artifactId>okhttp</artifactId>
157                 </exclusion>
158                 <exclusion>
159                     <groupId>com.squareup.retrofit2</groupId>
160                     <artifactId>retrofit</artifactId>
161                 </exclusion>
162             </exclusions>
163         </dependency>
164         <dependency>
165             <groupId>org.onap.holmes.common</groupId>
166             <artifactId>holmes-actions</artifactId>
167             <version>1.3.2</version>
168             <exclusions>
169                 <exclusion>
170                     <groupId>io.dropwizard</groupId>
171                     <artifactId>dropwizard-db</artifactId>
172                 </exclusion>
173                 <exclusion>
174                     <groupId>io.dropwizard</groupId>
175                     <artifactId>dropwizard-core</artifactId>
176                 </exclusion>
177                 <exclusion>
178                     <groupId>org.glassfish.jersey.containers</groupId>
179                     <artifactId>jersey-container-servlet-core</artifactId>
180                 </exclusion>
181                 <exclusion>
182                     <groupId>org.glassfish.hk2</groupId>
183                     <artifactId>hk2-locator</artifactId>
184                 </exclusion>
185                 <exclusion>
186                     <groupId>io.swagger</groupId>
187                     <artifactId>swagger-jersey2-jaxrs</artifactId>
188                 </exclusion>
189                 <exclusion>
190                     <groupId>org.slf4j</groupId>
191                     <artifactId>slf4j-api</artifactId>
192                 </exclusion>
193             </exclusions>
194         </dependency>
195         <dependency>
196             <groupId>org.drools</groupId>
197             <artifactId>drools-core</artifactId>
198             <version>${drools.version}</version>
199             <exclusions>
200                 <exclusion>
201                     <groupId>org.slf4j</groupId>
202                     <artifactId>slf4j-api</artifactId>
203                 </exclusion>
204             </exclusions>
205         </dependency>
206         <dependency>
207             <groupId>org.drools</groupId>
208             <artifactId>drools-compiler</artifactId>
209             <version>${drools.version}</version>
210             <exclusions>
211                 <exclusion>
212                     <groupId>org.eclipse.jdt.core.compiler</groupId>
213                     <artifactId>ecj</artifactId>
214                 </exclusion>
215                 <exclusion>
216                     <groupId>org.slf4j</groupId>
217                     <artifactId>slf4j-api</artifactId>
218                 </exclusion>
219                 <exclusion>
220                     <groupId>com.thoughtworks.xstream</groupId>
221                     <artifactId>xstream</artifactId>
222                 </exclusion>
223             </exclusions>
224         </dependency>
225         <dependency>
226             <groupId>org.eclipse.jdt.core.compiler</groupId>
227             <artifactId>ecj</artifactId>
228             <version>4.5.1</version>
229         </dependency>
230         <dependency>
231             <groupId>org.drools</groupId>
232             <artifactId>drools-templates</artifactId>
233             <version>${drools.version}</version>
234         </dependency>
235         <dependency>
236             <groupId>com.squareup.okhttp3</groupId>
237             <artifactId>okhttp</artifactId>
238             <version>3.14.1</version>
239         </dependency>
240         <dependency>
241             <groupId>io.swagger</groupId>
242             <artifactId>swagger-jersey2-jaxrs</artifactId>
243             <version>1.5.3</version>
244             <scope>provided</scope>
245             <exclusions>
246                 <exclusion>
247                     <groupId>com.fasterxml.jackson.core</groupId>
248                     <artifactId>jackson-core</artifactId>
249                 </exclusion>
250                 <exclusion>
251                     <groupId>com.fasterxml.jackson.core</groupId>
252                     <artifactId>jackson-databind</artifactId>
253                 </exclusion>
254                 <exclusion>
255                     <groupId>javax.validation</groupId>
256                     <artifactId>validation-api</artifactId>
257                 </exclusion>
258                 <exclusion>
259                     <groupId>org.glassfish.jersey.containers</groupId>
260                     <artifactId>jersey-container-servlet-core</artifactId>
261                 </exclusion>
262             </exclusions>
263         </dependency>
264         <dependency>
265             <groupId>org.slf4j</groupId>
266             <artifactId>slf4j-api</artifactId>
267             <version>1.7.25</version>
268         </dependency>
269         <dependency>
270             <groupId>com.google.code.gson</groupId>
271             <artifactId>gson</artifactId>
272             <version>2.8.6</version>
273         </dependency>
274         <dependency>
275             <groupId>com.squareup.retrofit2</groupId>
276             <artifactId>retrofit</artifactId>
277             <version>2.5.0</version>
278         </dependency>
279         <dependency>
280             <groupId>com.thoughtworks.xstream</groupId>
281             <artifactId>xstream</artifactId>
282             <version>1.4.11</version>
283         </dependency>
284
285         <!-- Do NOT remove org.reflections:reflections. Otherwise, the docker will fail to start. -->
286         <dependency>
287             <groupId>org.reflections</groupId>
288             <artifactId>reflections</artifactId>
289             <version>0.9.9</version>
290         </dependency>
291
292         <!-- UNIT TEST RELATED DEPENDENCIES -->
293         <dependency>
294             <groupId>org.powermock</groupId>
295             <artifactId>powermock-classloading-xstream</artifactId>
296             <version>${powermock.version}</version>
297             <scope>test</scope>
298         </dependency>
299         <dependency>
300             <groupId>org.hamcrest</groupId>
301             <artifactId>hamcrest-core</artifactId>
302             <version>1.3</version>
303             <scope>test</scope>
304         </dependency>
305         <dependency>
306             <groupId>org.powermock</groupId>
307             <artifactId>powermock-core</artifactId>
308             <version>${powermock.version}</version>
309             <scope>test</scope>
310         </dependency>
311         <dependency>
312             <groupId>org.powermock</groupId>
313             <artifactId>powermock-module-junit4</artifactId>
314             <version>${powermock.version}</version>
315             <scope>test</scope>
316         </dependency>
317         <dependency>
318             <groupId>org.powermock</groupId>
319             <artifactId>powermock-module-junit4-rule</artifactId>
320             <version>${powermock.version}</version>
321             <scope>test</scope>
322         </dependency>
323         <dependency>
324             <groupId>org.powermock</groupId>
325             <artifactId>powermock-api-mockito2</artifactId>
326             <version>${powermock.version}</version>
327             <scope>test</scope>
328         </dependency>
329         <dependency>
330             <groupId>org.powermock</groupId>
331             <artifactId>powermock-api-easymock</artifactId>
332             <version>${powermock.version}</version>
333             <scope>test</scope>
334         </dependency>
335         <dependency>
336             <groupId>org.easymock</groupId>
337             <artifactId>easymock</artifactId>
338             <version>4.2</version>
339             <scope>test</scope>
340         </dependency>
341         <dependency>
342             <groupId>junit</groupId>
343             <artifactId>junit</artifactId>
344             <version>4.8.2</version>
345             <scope>test</scope>
346         </dependency>
347     </dependencies>
348
349     <build>
350         <plugins>
351             <plugin>
352                 <groupId>org.apache.maven.plugins</groupId>
353                 <artifactId>maven-compiler-plugin</artifactId>
354                 <version>3.8.0</version>
355                 <configuration>
356                     <source>1.8</source>
357                     <target>1.8</target>
358                     <release>11</release>
359                 </configuration>
360             </plugin>
361             <plugin>
362                 <groupId>org.jacoco</groupId>
363                 <artifactId>jacoco-maven-plugin</artifactId>
364                 <version>${jacoco.version}</version>
365                 <executions>
366                     <execution>
367                         <id>prepare-agent</id>
368                         <goals>
369                             <goal>prepare-agent</goal>
370                         </goals>
371                     </execution>
372                     <execution>
373                         <id>report</id>
374                         <goals>
375                             <goal>report</goal>
376                         </goals>
377                         <configuration>
378                             <dataFile>${project.build.directory}/code-coverage/jacoco.exec</dataFile>
379                             <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
380                         </configuration>
381                     </execution>
382                 </executions>
383             </plugin>
384         </plugins>
385     </build>
386 </project>
387