1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- Copyright 2017-2023 ZTE Corporation. Licensed under the Apache License, Version
3 2.0 (the "License"); you may not use this file except in compliance with
4 the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
5 Unless required by applicable law or agreed to in writing, software distributed
6 under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES
7 OR CONDITIONS OF ANY KIND, either express or implied. See the License for
8 the specific language governing permissions and limitations under the License. -->
10 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
11 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
12 <modelVersion>4.0.0</modelVersion>
14 <groupId>org.onap.holmes.common</groupId>
15 <artifactId>holmes-common-parent</artifactId>
16 <packaging>pom</packaging>
18 <version>1.4.7-SNAPSHOT</version>
19 <name>holmes-common</name>
21 <module>holmes-actions</module>
25 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
26 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
27 <maven.test.failure.ignore>false</maven.test.failure.ignore>
28 <maven.test.skip>false</maven.test.skip>
30 <finalName>${project.artifactId}-${project.version}</finalName>
31 <release.dir>${basedir}/target</release.dir>
32 <bundle.name>${project.artifactId}-${project.version}</bundle.name>
34 <powermock.version>2.0.7</powermock.version>
35 <springboot.version>3.1.4</springboot.version>
36 <spring-framework.version>6.0.12</spring-framework.version>
37 <jdbi.version>3.19.0</jdbi.version>
39 <dropwizard.version>2.0.9</dropwizard.version>
40 <swagger.version>1.6.4</swagger.version>
41 <lombok.version>1.18.28</lombok.version>
42 <jersey.version>3.0.5</jersey.version>
43 <jersey.scope>compile</jersey.scope>
44 <jakarta.ws.rs.version>3.1.0</jakarta.ws.rs.version>
45 <slf4j.version>1.7.25</slf4j.version>
46 <jacoco.version>0.8.5</jacoco.version>
47 <jackson.version>2.15.2</jackson.version>
49 <jacoco.version>0.8.5</jacoco.version>
50 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
51 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
52 <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml
53 </sonar.coverage.jacoco.xmlReportPaths>
54 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
55 <swagger-properties>${basedir}/src/main/resources/swagger.properties</swagger-properties>
56 <swagger-json>${basedir}/src/main/resources/swagger.json</swagger-json>
59 <dependencyManagement>
62 <groupId>org.springframework.boot</groupId>
63 <artifactId>spring-boot-dependencies</artifactId>
64 <version>${springboot.version}</version>
69 <groupId>org.springframework</groupId>
70 <artifactId>spring-jdbc</artifactId>
71 <version>${spring-framework.version}</version>
74 <groupId>org.springframework</groupId>
75 <artifactId>spring-web</artifactId>
76 <version>${spring-framework.version}</version>
79 <groupId>org.jdbi</groupId>
80 <artifactId>jdbi3-postgres</artifactId>
81 <version>${jdbi.version}</version>
84 <groupId>org.jdbi</groupId>
85 <artifactId>jdbi3-sqlobject</artifactId>
86 <version>${jdbi.version}</version>
89 <groupId>javax.servlet</groupId>
90 <artifactId>javax.servlet-api</artifactId>
91 <version>4.0.1</version>
94 <groupId>org.glassfish.jersey.containers</groupId>
95 <artifactId>jersey-container-servlet-core</artifactId>
96 <version>${jersey.version}</version>
97 <scope>${jersey.scope}</scope>
100 <groupId>org.glassfish.jersey.core</groupId>
101 <artifactId>jersey-common</artifactId>
102 <version>${jersey.version}</version>
105 <groupId>org.glassfish.jersey.core</groupId>
106 <artifactId>jersey-client</artifactId>
107 <version>${jersey.version}</version>
110 <groupId>org.projectlombok</groupId>
111 <artifactId>lombok</artifactId>
112 <version>${lombok.version}</version>
115 <groupId>junit</groupId>
116 <artifactId>junit</artifactId>
117 <version>4.13.2</version>
121 <groupId>org.hamcrest</groupId>
122 <artifactId>hamcrest-core</artifactId>
123 <version>1.3</version>
127 <groupId>org.powermock</groupId>
128 <artifactId>powermock-module-junit4</artifactId>
129 <version>${powermock.version}</version>
133 <groupId>org.easymock</groupId>
134 <artifactId>easymock</artifactId>
135 <version>4.2</version>
139 <groupId>org.powermock</groupId>
140 <artifactId>powermock-api-easymock</artifactId>
141 <version>${powermock.version}</version>
145 <groupId>com.google.guava</groupId>
146 <artifactId>guava</artifactId>
147 <version>32.1.2-jre</version>
150 <groupId>com.google.code.gson</groupId>
151 <artifactId>gson</artifactId>
152 <version>2.8.9</version>
155 <groupId>jakarta.ws.rs</groupId>
156 <artifactId>jakarta.ws.rs-api</artifactId>
157 <version>${jakarta.ws.rs.version}</version>
160 <groupId>com.fasterxml.jackson.core</groupId>
161 <artifactId>jackson-annotations</artifactId>
162 <version>${jackson.version}</version>
165 <groupId>com.fasterxml.jackson.core</groupId>
166 <artifactId>jackson-databind</artifactId>
167 <version>${jackson.version}</version>
170 <groupId>org.apache.commons</groupId>
171 <artifactId>commons-lang3</artifactId>
172 <version>3.13.0</version>
175 </dependencyManagement>
180 <groupId>org.jacoco</groupId>
181 <artifactId>jacoco-maven-plugin</artifactId>
182 <version>${jacoco.version}</version>
185 <id>prepare-agent</id>
187 <goal>prepare-agent</goal>
196 <dataFile>${project.build.directory}/code-coverage/jacoco.exec</dataFile>
197 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>