Release 10.0.5
[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.7-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>7.62.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                 <exclusion>
163                     <groupId>org.apache.httpcomponents</groupId>
164                     <artifactId>httpclient</artifactId>
165                 </exclusion>
166             </exclusions>
167         </dependency>
168         <dependency>
169             <groupId>org.onap.holmes.common</groupId>
170             <artifactId>holmes-actions</artifactId>
171             <version>1.4.2</version>
172             <exclusions>
173                 <exclusion>
174                     <groupId>io.dropwizard</groupId>
175                     <artifactId>dropwizard-db</artifactId>
176                 </exclusion>
177                 <exclusion>
178                     <groupId>io.dropwizard</groupId>
179                     <artifactId>dropwizard-core</artifactId>
180                 </exclusion>
181                 <exclusion>
182                     <groupId>org.glassfish.jersey.containers</groupId>
183                     <artifactId>jersey-container-servlet-core</artifactId>
184                 </exclusion>
185                 <exclusion>
186                     <groupId>org.glassfish.hk2</groupId>
187                     <artifactId>hk2-locator</artifactId>
188                 </exclusion>
189                 <exclusion>
190                     <groupId>io.swagger</groupId>
191                     <artifactId>swagger-jersey2-jaxrs</artifactId>
192                 </exclusion>
193                 <exclusion>
194                     <groupId>org.slf4j</groupId>
195                     <artifactId>slf4j-api</artifactId>
196                 </exclusion>
197             </exclusions>
198         </dependency>
199         <dependency>
200             <groupId>org.drools</groupId>
201             <artifactId>drools-core</artifactId>
202             <version>${drools.version}</version>
203             <exclusions>
204                 <exclusion>
205                     <groupId>org.slf4j</groupId>
206                     <artifactId>slf4j-api</artifactId>
207                 </exclusion>
208             </exclusions>
209         </dependency>
210         <dependency>
211             <groupId>org.drools</groupId>
212             <artifactId>drools-compiler</artifactId>
213             <version>${drools.version}</version>
214             <exclusions>
215                 <exclusion>
216                     <groupId>org.eclipse.jdt.core.compiler</groupId>
217                     <artifactId>ecj</artifactId>
218                 </exclusion>
219                 <exclusion>
220                     <groupId>org.slf4j</groupId>
221                     <artifactId>slf4j-api</artifactId>
222                 </exclusion>
223                 <exclusion>
224                     <groupId>com.thoughtworks.xstream</groupId>
225                     <artifactId>xstream</artifactId>
226                 </exclusion>
227             </exclusions>
228         </dependency>
229         <dependency>
230             <groupId>org.eclipse.jdt.core.compiler</groupId>
231             <artifactId>ecj</artifactId>
232             <version>4.5.1</version>
233         </dependency>
234         <dependency>
235             <groupId>org.drools</groupId>
236             <artifactId>drools-templates</artifactId>
237             <version>${drools.version}</version>
238         </dependency>
239         <dependency>
240             <groupId>org.drools</groupId>
241             <artifactId>drools-mvel</artifactId>
242             <version>${drools.version}</version>
243         </dependency>
244         <dependency>
245             <groupId>io.swagger</groupId>
246             <artifactId>swagger-jersey2-jaxrs</artifactId>
247             <version>1.5.3</version>
248             <scope>provided</scope>
249             <exclusions>
250                 <exclusion>
251                     <groupId>com.fasterxml.jackson.core</groupId>
252                     <artifactId>jackson-core</artifactId>
253                 </exclusion>
254                 <exclusion>
255                     <groupId>com.fasterxml.jackson.core</groupId>
256                     <artifactId>jackson-databind</artifactId>
257                 </exclusion>
258                 <exclusion>
259                     <groupId>javax.validation</groupId>
260                     <artifactId>validation-api</artifactId>
261                 </exclusion>
262                 <exclusion>
263                     <groupId>org.glassfish.jersey.containers</groupId>
264                     <artifactId>jersey-container-servlet-core</artifactId>
265                 </exclusion>
266             </exclusions>
267         </dependency>
268         <dependency>
269             <groupId>org.slf4j</groupId>
270             <artifactId>slf4j-api</artifactId>
271             <version>1.7.25</version>
272         </dependency>
273         <dependency>
274             <groupId>com.google.code.gson</groupId>
275             <artifactId>gson</artifactId>
276             <version>2.8.9</version>
277         </dependency>
278         <dependency>
279             <groupId>com.squareup.retrofit2</groupId>
280             <artifactId>retrofit</artifactId>
281             <version>2.5.0</version>
282         </dependency>
283         <dependency>
284             <groupId>com.thoughtworks.xstream</groupId>
285             <artifactId>xstream</artifactId>
286             <version>1.4.18</version>
287         </dependency>
288
289         <!-- Do NOT remove org.reflections:reflections. Otherwise, the docker will fail to start. -->
290         <dependency>
291             <groupId>org.reflections</groupId>
292             <artifactId>reflections</artifactId>
293             <version>0.9.9</version>
294         </dependency>
295
296         <!-- UNIT TEST RELATED DEPENDENCIES -->
297         <dependency>
298             <groupId>org.powermock</groupId>
299             <artifactId>powermock-classloading-xstream</artifactId>
300             <version>${powermock.version}</version>
301             <scope>test</scope>
302         </dependency>
303         <dependency>
304             <groupId>org.hamcrest</groupId>
305             <artifactId>hamcrest-core</artifactId>
306             <version>1.3</version>
307             <scope>test</scope>
308         </dependency>
309         <dependency>
310             <groupId>org.powermock</groupId>
311             <artifactId>powermock-core</artifactId>
312             <version>${powermock.version}</version>
313             <scope>test</scope>
314         </dependency>
315         <dependency>
316             <groupId>org.powermock</groupId>
317             <artifactId>powermock-module-junit4</artifactId>
318             <version>${powermock.version}</version>
319             <scope>test</scope>
320         </dependency>
321         <dependency>
322             <groupId>org.powermock</groupId>
323             <artifactId>powermock-module-junit4-rule</artifactId>
324             <version>${powermock.version}</version>
325             <scope>test</scope>
326         </dependency>
327         <dependency>
328             <groupId>org.powermock</groupId>
329             <artifactId>powermock-api-mockito2</artifactId>
330             <version>${powermock.version}</version>
331             <scope>test</scope>
332         </dependency>
333         <dependency>
334             <groupId>org.powermock</groupId>
335             <artifactId>powermock-api-easymock</artifactId>
336             <version>${powermock.version}</version>
337             <scope>test</scope>
338         </dependency>
339         <dependency>
340             <groupId>org.easymock</groupId>
341             <artifactId>easymock</artifactId>
342             <version>4.2</version>
343             <scope>test</scope>
344         </dependency>
345         <dependency>
346             <groupId>junit</groupId>
347             <artifactId>junit</artifactId>
348             <version>4.8.2</version>
349             <scope>test</scope>
350         </dependency>
351     </dependencies>
352
353     <build>
354         <plugins>
355             <plugin>
356                 <groupId>org.apache.maven.plugins</groupId>
357                 <artifactId>maven-compiler-plugin</artifactId>
358                 <version>3.8.0</version>
359                 <configuration>
360                     <source>1.8</source>
361                     <target>1.8</target>
362                     <release>11</release>
363                 </configuration>
364             </plugin>
365             <plugin>
366                 <groupId>org.jacoco</groupId>
367                 <artifactId>jacoco-maven-plugin</artifactId>
368                 <version>${jacoco.version}</version>
369                 <executions>
370                     <execution>
371                         <id>prepare-agent</id>
372                         <goals>
373                             <goal>prepare-agent</goal>
374                         </goals>
375                     </execution>
376                     <execution>
377                         <id>report</id>
378                         <goals>
379                             <goal>report</goal>
380                         </goals>
381                         <configuration>
382                             <dataFile>${project.build.directory}/code-coverage/jacoco.exec</dataFile>
383                             <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
384                         </configuration>
385                     </execution>
386                 </executions>
387             </plugin>
388         </plugins>
389     </build>
390 </project>
391