Removed redundant env vars
[holmes/common.git] / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>\r
2 <!-- Copyright 2017-2023 ZTE Corporation. Licensed under the Apache License, Version\r
3         2.0 (the "License"); you may not use this file except in compliance with\r
4         the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0\r
5         Unless required by applicable law or agreed to in writing, software distributed\r
6         under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES\r
7         OR CONDITIONS OF ANY KIND, either express or implied. See the License for\r
8         the specific language governing permissions and limitations under the License. -->\r
9 \r
10 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r
11     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">\r
12     <modelVersion>4.0.0</modelVersion>\r
13     <parent>\r
14         <groupId>org.onap.oparent</groupId>\r
15         <artifactId>oparent</artifactId>\r
16         <version>3.0.0</version>\r
17     </parent>\r
18 \r
19     <groupId>org.onap.holmes.common</groupId>\r
20     <artifactId>holmes-common-parent</artifactId>\r
21     <packaging>pom</packaging>\r
22 \r
23     <version>1.4.6-SNAPSHOT</version>\r
24     <name>holmes-common</name>\r
25     <modules>\r
26         <module>holmes-actions</module>\r
27     </modules>\r
28 \r
29     <properties>\r
30         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>\r
31         <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>\r
32         <maven.test.failure.ignore>false</maven.test.failure.ignore>\r
33         <maven.test.skip>false</maven.test.skip>\r
34 \r
35         <finalName>${project.artifactId}-${project.version}</finalName>\r
36         <release.dir>${basedir}/target</release.dir>\r
37         <bundle.name>${project.artifactId}-${project.version}</bundle.name>\r
38 \r
39         <powermock.version>2.0.7</powermock.version>\r
40         <springboot.version>2.7.2</springboot.version>\r
41         <spring-framework.version>5.3.13</spring-framework.version>\r
42         <jdbi.version>3.19.0</jdbi.version>\r
43 \r
44         <dropwizard.version>2.0.9</dropwizard.version>\r
45         <swagger.version>1.6.4</swagger.version>\r
46         <lombok.version>1.18.4</lombok.version>\r
47         <jersey.version>3.0.5</jersey.version>\r
48         <jersey.scope>compile</jersey.scope>\r
49         <jakarta.ws.rs.version>3.1.0</jakarta.ws.rs.version>\r
50         <slf4j.version>1.7.25</slf4j.version>\r
51         <jacoco.version>0.8.5</jacoco.version>\r
52         <jackson.version>2.13.3</jackson.version>\r
53         <sonar.coverage.jacoco.xmlReportPaths>\r
54             ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml\r
55         </sonar.coverage.jacoco.xmlReportPaths>\r
56     </properties>\r
57 \r
58     <dependencyManagement>\r
59         <dependencies>\r
60             <dependency>\r
61                 <groupId>org.springframework.boot</groupId>\r
62                 <artifactId>spring-boot-dependencies</artifactId>\r
63                 <version>${springboot.version}</version>\r
64                 <type>pom</type>\r
65                 <scope>import</scope>\r
66             </dependency>\r
67             <dependency>\r
68                 <groupId>org.springframework</groupId>\r
69                 <artifactId>spring-jdbc</artifactId>\r
70                 <version>${spring-framework.version}</version>\r
71             </dependency>\r
72             <dependency>\r
73                 <groupId>org.springframework</groupId>\r
74                 <artifactId>spring-web</artifactId>\r
75                 <version>${spring-framework.version}</version>\r
76             </dependency>\r
77             <dependency>\r
78                 <groupId>org.jdbi</groupId>\r
79                 <artifactId>jdbi3-postgres</artifactId>\r
80                 <version>${jdbi.version}</version>\r
81             </dependency>\r
82             <dependency>\r
83                 <groupId>org.jdbi</groupId>\r
84                 <artifactId>jdbi3-sqlobject</artifactId>\r
85                 <version>${jdbi.version}</version>\r
86             </dependency>\r
87             <dependency>\r
88                 <groupId>javax.servlet</groupId>\r
89                 <artifactId>javax.servlet-api</artifactId>\r
90                 <version>4.0.1</version>\r
91             </dependency>\r
92             <dependency>\r
93                 <groupId>org.onap.msb.java-sdk</groupId>\r
94                 <artifactId>msb-java-sdk</artifactId>\r
95                 <version>1.2.5</version>\r
96                 <exclusions>\r
97                     <exclusion>\r
98                         <groupId>com.fasterxml.jackson.core</groupId>\r
99                         <artifactId>jackson-databind</artifactId>\r
100                     </exclusion>\r
101                 </exclusions>\r
102             </dependency>\r
103             <dependency>\r
104                 <groupId>org.glassfish.jersey.containers</groupId>\r
105                 <artifactId>jersey-container-servlet-core</artifactId>\r
106                 <version>${jersey.version}</version>\r
107                 <scope>${jersey.scope}</scope>\r
108             </dependency>\r
109             <dependency>\r
110                 <groupId>org.glassfish.jersey.core</groupId>\r
111                 <artifactId>jersey-common</artifactId>\r
112                 <version>${jersey.version}</version>\r
113             </dependency>\r
114             <dependency>\r
115                 <groupId>org.glassfish.jersey.core</groupId>\r
116                 <artifactId>jersey-client</artifactId>\r
117                 <version>${jersey.version}</version>\r
118             </dependency>\r
119             <dependency>\r
120                 <groupId>org.projectlombok</groupId>\r
121                 <artifactId>lombok</artifactId>\r
122                 <version>${lombok.version}</version>\r
123             </dependency>\r
124             <dependency>\r
125                 <groupId>junit</groupId>\r
126                 <artifactId>junit</artifactId>\r
127                 <version>4.8.2</version>\r
128                 <scope>test</scope>\r
129             </dependency>\r
130             <dependency>\r
131                 <groupId>org.hamcrest</groupId>\r
132                 <artifactId>hamcrest-core</artifactId>\r
133                 <version>1.3</version>\r
134                 <scope>test</scope>\r
135             </dependency>\r
136             <dependency>\r
137                 <groupId>org.powermock</groupId>\r
138                 <artifactId>powermock-module-junit4</artifactId>\r
139                 <version>${powermock.version}</version>\r
140                 <scope>test</scope>\r
141             </dependency>\r
142             <dependency>\r
143                 <groupId>org.easymock</groupId>\r
144                 <artifactId>easymock</artifactId>\r
145                 <version>4.2</version>\r
146                 <scope>test</scope>\r
147             </dependency>\r
148             <dependency>\r
149                 <groupId>org.powermock</groupId>\r
150                 <artifactId>powermock-api-easymock</artifactId>\r
151                 <version>${powermock.version}</version>\r
152                 <scope>test</scope>\r
153             </dependency>\r
154             <dependency>\r
155                 <groupId>com.google.guava</groupId>\r
156                 <artifactId>guava</artifactId>\r
157                 <version>29.0-jre</version>\r
158             </dependency>\r
159             <dependency>\r
160                 <groupId>com.google.code.gson</groupId>\r
161                 <artifactId>gson</artifactId>\r
162                 <version>2.8.9</version>\r
163             </dependency>\r
164             <dependency>\r
165                 <groupId>jakarta.ws.rs</groupId>\r
166                 <artifactId>jakarta.ws.rs-api</artifactId>\r
167                 <version>${jakarta.ws.rs.version}</version>\r
168             </dependency>\r
169         </dependencies>\r
170     </dependencyManagement>\r
171 \r
172     <build>\r
173         <plugins>\r
174             <plugin>\r
175                 <groupId>org.jacoco</groupId>\r
176                 <artifactId>jacoco-maven-plugin</artifactId>\r
177                 <version>${jacoco.version}</version>\r
178                 <executions>\r
179                     <execution>\r
180                         <id>prepare-agent</id>\r
181                         <goals>\r
182                             <goal>prepare-agent</goal>\r
183                         </goals>\r
184                     </execution>\r
185                     <execution>\r
186                         <id>report</id>\r
187                         <goals>\r
188                             <goal>report</goal>\r
189                         </goals>\r
190                         <configuration>\r
191                             <dataFile>${project.build.directory}/code-coverage/jacoco.exec</dataFile>\r
192                             <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>\r
193                         </configuration>\r
194                     </execution>\r
195                 </executions>\r
196             </plugin>\r
197         </plugins>\r
198     </build>\r
199 </project>\r
200 \r