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