update link to upper-constraints.txt
[holmes/engine-management.git] / pom.xml
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <!--
3   ~ Copyright 2017-2022 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
22     <groupId>org.onap.holmes.engine-management</groupId>
23     <artifactId>holmes-engine-parent</artifactId>
24     <version>1.3.8-SNAPSHOT</version>
25     <packaging>pom</packaging>
26     <name>holmes-engine-management</name>
27     <modules>
28         <module>engine-d</module>
29         <module>engine-d-standalone</module>
30     </modules>
31
32     <properties>
33         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
34         <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
35         <maven.test.failure.ignore>false</maven.test.failure.ignore>
36
37         <finalName>${project.artifactId}-${project.version}</finalName>
38         <release.dir>${basedir}/target</release.dir>
39         <bundle.name>${project.artifactId}-${project.version}</bundle.name>
40
41         <drools.version>7.62.0.Final</drools.version>
42         <powermock.version>2.0.7</powermock.version>
43         <jacoco.version>0.8.5</jacoco.version>
44         <springboot.version>3.1.4</springboot.version>
45         <jdbi.version>3.41.3</jdbi.version>
46         <jersey.version>3.1.3</jersey.version>
47         <jakarta.ws.rs.version>3.1.0</jakarta.ws.rs.version>
48         <slf4j.version>2.0.9</slf4j.version>
49
50         <packagename>onap-holmes-engine-d</packagename>
51         <linux64id>linux64</linux64id>
52         <linux64outputdir>target/assembly/${linux64id}</linux64outputdir>
53         <version.output>target/version</version.output>
54
55         <jacoco.version>0.8.5</jacoco.version>
56         <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
57         <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
58         <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
59         <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
60         <swagger-properties>${basedir}/src/main/resources/swagger.properties</swagger-properties>
61         <swagger-json>${basedir}/src/main/resources/swagger.json</swagger-json>
62     </properties>
63
64     <dependencyManagement>
65         <dependencies>
66             <dependency>
67                 <groupId>org.springframework.boot</groupId>
68                 <artifactId>spring-boot-dependencies</artifactId>
69                 <version>${springboot.version}</version>
70                 <type>pom</type>
71                 <scope>import</scope>
72             </dependency>
73         </dependencies>
74     </dependencyManagement>
75
76     <dependencies>
77         <dependency>
78             <groupId>org.springframework.boot</groupId>
79             <artifactId>spring-boot-starter-web</artifactId>
80             <exclusions>
81                 <exclusion>
82                     <groupId>org.springframework.boot</groupId>
83                     <artifactId>spring-boot-starter-json</artifactId>
84                 </exclusion>
85             </exclusions>
86         </dependency>
87         <dependency>
88             <groupId>org.springframework.boot</groupId>
89             <artifactId>spring-boot-autoconfigure</artifactId>
90         </dependency>
91         <dependency>
92             <groupId>org.jdbi</groupId>
93             <artifactId>jdbi3-postgres</artifactId>
94             <version>${jdbi.version}</version>
95         </dependency>
96         <dependency>
97             <groupId>org.jdbi</groupId>
98             <artifactId>jdbi3-sqlobject</artifactId>
99             <version>${jdbi.version}</version>
100         </dependency>
101         <dependency>
102             <groupId>org.postgresql</groupId>
103             <artifactId>postgresql</artifactId>
104             <version>42.5.1</version>
105         </dependency>
106         <dependency>
107             <groupId>org.projectlombok</groupId>
108             <artifactId>lombok</artifactId>
109             <version>1.18.28</version>
110         </dependency>
111         <dependency>
112             <groupId>org.javassist</groupId>
113             <artifactId>javassist</artifactId>
114             <version>3.24.1-GA</version>
115         </dependency>
116         <dependency>
117             <groupId>commons-collections</groupId>
118             <artifactId>commons-collections</artifactId>
119             <version>3.2.2</version>
120         </dependency>
121         <dependency>
122             <groupId>org.onap.holmes.common</groupId>
123             <artifactId>holmes-actions</artifactId>
124             <version>1.4.7</version>
125             <exclusions>
126                 <exclusion>
127                     <groupId>io.swagger</groupId>
128                     <artifactId>swagger-jersey2-jaxrs</artifactId>
129                 </exclusion>
130                 <exclusion>
131                     <groupId>org.slf4j</groupId>
132                     <artifactId>slf4j-api</artifactId>
133                 </exclusion>
134             </exclusions>
135         </dependency>
136         <dependency>
137             <groupId>jakarta.ws.rs</groupId>
138             <artifactId>jakarta.ws.rs-api</artifactId>
139             <version>${jakarta.ws.rs.version}</version>
140         </dependency>
141         <dependency>
142             <groupId>jakarta.xml.bind</groupId>
143             <artifactId>jakarta.xml.bind-api</artifactId>
144             <version>4.0.0</version>
145         </dependency>
146         <dependency>
147             <groupId>jakarta.servlet</groupId>
148             <artifactId>jakarta.servlet-api</artifactId>
149             <version>6.0.0</version>
150             <scope>provided</scope>
151         </dependency>
152         <dependency>
153             <groupId>javax.xml.bind</groupId>
154             <artifactId>jaxb-api</artifactId>
155             <version>2.3.1</version>
156         </dependency>
157         <dependency>
158             <groupId>org.drools</groupId>
159             <artifactId>drools-core</artifactId>
160             <version>${drools.version}</version>
161             <exclusions>
162                 <exclusion>
163                     <groupId>org.slf4j</groupId>
164                     <artifactId>slf4j-api</artifactId>
165                 </exclusion>
166             </exclusions>
167         </dependency>
168         <dependency>
169             <groupId>org.drools</groupId>
170             <artifactId>drools-compiler</artifactId>
171             <version>${drools.version}</version>
172             <exclusions>
173                 <exclusion>
174                     <groupId>org.eclipse.jdt.core.compiler</groupId>
175                     <artifactId>ecj</artifactId>
176                 </exclusion>
177                 <exclusion>
178                     <groupId>org.slf4j</groupId>
179                     <artifactId>slf4j-api</artifactId>
180                 </exclusion>
181                 <exclusion>
182                     <groupId>com.thoughtworks.xstream</groupId>
183                     <artifactId>xstream</artifactId>
184                 </exclusion>
185             </exclusions>
186         </dependency>
187         <dependency>
188             <groupId>org.eclipse.jdt.core.compiler</groupId>
189             <artifactId>ecj</artifactId>
190             <version>4.5.1</version>
191         </dependency>
192         <dependency>
193             <groupId>org.drools</groupId>
194             <artifactId>drools-templates</artifactId>
195             <version>${drools.version}</version>
196         </dependency>
197         <dependency>
198             <groupId>com.squareup.okhttp3</groupId>
199             <artifactId>okhttp</artifactId>
200             <version>4.10.0</version>
201         </dependency>
202         <dependency>
203             <groupId>io.swagger</groupId>
204             <artifactId>swagger-jersey2-jaxrs</artifactId>
205             <version>1.5.3</version>
206             <scope>provided</scope>
207             <exclusions>
208                 <exclusion>
209                     <groupId>com.fasterxml.jackson.core</groupId>
210                     <artifactId>jackson-core</artifactId>
211                 </exclusion>
212                 <exclusion>
213                     <groupId>com.fasterxml.jackson.core</groupId>
214                     <artifactId>jackson-databind</artifactId>
215                 </exclusion>
216                 <exclusion>
217                     <groupId>javax.validation</groupId>
218                     <artifactId>validation-api</artifactId>
219                 </exclusion>
220                 <exclusion>
221                     <groupId>org.glassfish.jersey.containers</groupId>
222                     <artifactId>jersey-container-servlet-core</artifactId>
223                 </exclusion>
224             </exclusions>
225         </dependency>
226         <dependency>
227             <groupId>org.slf4j</groupId>
228             <artifactId>slf4j-api</artifactId>
229             <version>${slf4j.version}</version>
230         </dependency>
231         <dependency>
232             <groupId>com.google.code.gson</groupId>
233             <artifactId>gson</artifactId>
234             <version>2.10</version>
235         </dependency>
236         <dependency>
237             <groupId>com.thoughtworks.xstream</groupId>
238             <artifactId>xstream</artifactId>
239             <version>1.4.20</version>
240         </dependency>
241         <dependency>
242             <groupId>org.glassfish.jersey.inject</groupId>
243             <artifactId>jersey-hk2</artifactId>
244             <version>${jersey.version}</version>
245         </dependency>
246         <dependency>
247             <groupId>org.glassfish.jersey.media</groupId>
248             <artifactId>jersey-media-json-jackson</artifactId>
249             <version>${jersey.version}</version>
250         </dependency>
251         <dependency>
252             <groupId>org.glassfish.jersey.core</groupId>
253             <artifactId>jersey-common</artifactId>
254             <version>${jersey.version}</version>
255         </dependency>
256         <dependency>
257             <groupId>org.glassfish.jersey.core</groupId>
258             <artifactId>jersey-client</artifactId>
259             <version>${jersey.version}</version>
260         </dependency>
261         <dependency>
262             <groupId>org.glassfish.jersey.core</groupId>
263             <artifactId>jersey-server</artifactId>
264             <version>${jersey.version}</version>
265         </dependency>
266         <dependency>
267             <groupId>org.glassfish.jersey.containers</groupId>
268             <artifactId>jersey-container-servlet-core</artifactId>
269             <version>${jersey.version}</version>
270         </dependency>
271         <dependency>
272             <groupId>org.glassfish.jersey.ext</groupId>
273             <artifactId>jersey-entity-filtering</artifactId>
274             <version>${jersey.version}</version>
275         </dependency>
276         <dependency>
277             <groupId>jakarta.activation</groupId>
278             <artifactId>jakarta.activation-api</artifactId>
279             <version>2.1.0</version>
280         </dependency>
281         <dependency>
282             <groupId>jakarta.annotation</groupId>
283             <artifactId>jakarta.annotation-api</artifactId>
284             <version>2.1.1</version>
285         </dependency>
286         <dependency>
287             <groupId>javax.annotation</groupId>
288             <artifactId>javax.annotation-api</artifactId>
289             <version>1.3.2</version>
290             <scope>provided</scope>
291         </dependency>
292         <dependency>
293             <groupId>org.hamcrest</groupId>
294             <artifactId>hamcrest-core</artifactId>
295             <version>1.3</version>
296             <scope>test</scope>
297         </dependency>
298
299         <!-- Do NOT remove org.reflections:reflections. Otherwise, the docker will fail to start. -->
300         <dependency>
301             <groupId>org.reflections</groupId>
302             <artifactId>reflections</artifactId>
303             <version>0.9.9</version>
304         </dependency>
305
306         <!-- UNIT TEST RELATED DEPENDENCIES -->
307         <dependency>
308             <groupId>org.powermock</groupId>
309             <artifactId>powermock-classloading-xstream</artifactId>
310             <version>${powermock.version}</version>
311             <scope>test</scope>
312             <exclusions>
313                 <exclusion>
314                     <artifactId>xstream</artifactId>
315                     <groupId>com.thoughtworks.xstream</groupId>
316                 </exclusion>
317             </exclusions>
318         </dependency>
319         <dependency>
320             <groupId>org.powermock</groupId>
321             <artifactId>powermock-core</artifactId>
322             <version>${powermock.version}</version>
323             <scope>test</scope>
324         </dependency>
325         <dependency>
326             <groupId>org.powermock</groupId>
327             <artifactId>powermock-module-junit4</artifactId>
328             <version>${powermock.version}</version>
329             <scope>test</scope>
330         </dependency>
331         <dependency>
332             <groupId>org.powermock</groupId>
333             <artifactId>powermock-module-junit4-rule</artifactId>
334             <version>${powermock.version}</version>
335             <scope>test</scope>
336         </dependency>
337         <dependency>
338             <groupId>org.powermock</groupId>
339             <artifactId>powermock-api-mockito2</artifactId>
340             <version>${powermock.version}</version>
341             <scope>test</scope>
342         </dependency>
343         <dependency>
344             <groupId>org.mockito</groupId>
345             <artifactId>mockito-core</artifactId>
346             <version>2.28.2</version>
347             <scope>test</scope>
348         </dependency>
349         <dependency>
350             <groupId>org.powermock</groupId>
351             <artifactId>powermock-api-support</artifactId>
352             <version>2.0.7</version>
353             <scope>test</scope>
354         </dependency>
355         <dependency>
356             <groupId>org.powermock</groupId>
357             <artifactId>powermock-api-easymock</artifactId>
358             <version>${powermock.version}</version>
359             <scope>test</scope>
360         </dependency>
361         <dependency>
362             <groupId>org.easymock</groupId>
363             <artifactId>easymock</artifactId>
364             <version>4.2</version>
365             <scope>test</scope>
366         </dependency>
367         <dependency>
368             <groupId>junit</groupId>
369             <artifactId>junit</artifactId>
370             <version>4.13.2</version>
371             <scope>test</scope>
372         </dependency>
373     </dependencies>
374 </project>
375