Fix SDK Vulnerabilities
[dcaegen2/services/sdk.git] / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 ============LICENSE_START=======================================================
4 Copyright (c) 2022 Nokia. All rights reserved.
5 ================================================================================
6 Licensed under the Apache License, Version 2.0 (the "License"); you may not
7 use this file except in compliance with the License. You may obtain a copy
8 of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required
9 by applicable law or agreed to in writing, software distributed under the
10 License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
11 OF ANY KIND, either express or implied. See the License for the specific
12 language governing permissions and limitations under the License.
13 ============LICENSE_END=========================================================
14 -->
15 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
16         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
17     <modelVersion>4.0.0</modelVersion>
18     <parent>
19         <groupId>org.onap.oparent</groupId>
20         <artifactId>oparent</artifactId>
21         <version>2.0.0</version>
22         <relativePath/>
23     </parent>
24
25     <groupId>org.onap.dcaegen2.services</groupId>
26     <artifactId>sdk</artifactId>
27     <version>${revision}</version>
28
29     <name>dcaegen2-services-sdk</name>
30     <description>Common SDK repo for all DCAE Services</description>
31     <packaging>pom</packaging>
32
33     <licenses>
34         <license>
35             <name>The Apache Software License, Version 2.0</name>
36             <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
37         </license>
38     </licenses>
39
40     <profiles>
41         <profile>
42             <id>default</id>
43             <activation>
44                 <activeByDefault>true</activeByDefault>
45             </activation>
46             <build>
47                 <plugins>
48                     <plugin>
49                         <groupId>org.apache.maven.plugins</groupId>
50                         <artifactId>maven-failsafe-plugin</artifactId>
51                         <configuration>
52                             <skipITs>true</skipITs>
53                         </configuration>
54                     </plugin>
55                 </plugins>
56             </build>
57         </profile>
58         <profile>
59             <id>integration-pairwise</id>
60             <build>
61                 <plugins>
62                     <plugin>
63                         <groupId>org.apache.maven.plugins</groupId>
64                         <artifactId>maven-surefire-plugin</artifactId>
65                         <configuration>
66                             <skipTests>true</skipTests>
67                         </configuration>
68                     </plugin>
69                 </plugins>
70             </build>
71         </profile>
72     </profiles>
73
74     <properties>
75         <java.version>11</java.version>
76         <junit-jupiter.version>5.9.0</junit-jupiter.version>
77         <junit-vintage.version>5.7.0</junit-vintage.version>
78         <junit-platform.version>1.3.1</junit-platform.version>
79         <immutables.version>2.9.0</immutables.version>
80         <assertj-core.version>3.12.2</assertj-core.version>
81         <reactor.bom.version>2020.0.1</reactor.bom.version>
82         <slf4j.version>1.7.25</slf4j.version>
83         <logback.version>1.2.11</logback.version>
84         <mockito.version>2.28.2</mockito.version>
85         <protobuf.version>3.21.1</protobuf.version>
86         <vavr.version>0.10.2</vavr.version>
87         <commons-text.version>1.6</commons-text.version>
88         <jetbrains-annotations.version>16.0.3</jetbrains-annotations.version>
89         <protoc-jar-maven-plugin.version>3.6.0.2</protoc-jar-maven-plugin.version>
90         <testcontainers.version>1.15.1</testcontainers.version>
91         <spring.boot.version>2.7.2</spring.boot.version>
92         <system.rules.version>1.17.2</system.rules.version>
93         <openapi4j.version>1.0.3</openapi4j.version>
94         <mockserver-client.version>5.11.2</mockserver-client.version>
95         <sonar.coverage.jacoco.xmlReportPaths>
96             ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml
97         </sonar.coverage.jacoco.xmlReportPaths>
98         <revision>1.8.10-SNAPSHOT</revision>
99     </properties>
100
101     <modules>
102         <module>rest-services</module>
103         <module>services</module>
104         <module>security</module>
105         <module>standardization</module>
106         <module>services/common</module>
107     </modules>
108
109     <build>
110         <plugins>
111             <plugin>
112                 <artifactId>maven-javadoc-plugin</artifactId>
113                 <configuration>
114                     <!-- minimize console output messages -->
115                     <quiet>true</quiet>
116                     <verbose>false</verbose>
117                     <useStandardDocletOptions>false</useStandardDocletOptions>
118                 </configuration>
119                 <executions>
120                     <execution>
121                         <id>aggregate</id>
122                         <phase>site</phase>
123                         <goals>
124                             <goal>aggregate</goal>
125                         </goals>
126                     </execution>
127                     <execution>
128                         <id>attach-javadoc</id>
129                         <goals>
130                             <goal>jar</goal>
131                         </goals>
132                     </execution>
133                 </executions>
134             </plugin>
135             <plugin>
136                 <!-- configuration taken intact from oparent -->
137                 <groupId>org.apache.maven.plugins</groupId>
138                 <artifactId>maven-failsafe-plugin</artifactId>
139             </plugin>
140         </plugins>
141
142         <pluginManagement>
143             <plugins>
144                 <plugin>
145                     <groupId>org.apache.maven.plugins</groupId>
146                     <artifactId>maven-resources-plugin</artifactId>
147                     <version>3.1.0</version>
148                     <configuration>
149                         <encoding>${project.build.sourceEncoding}</encoding>
150                     </configuration>
151                 </plugin>
152                 <plugin>
153                     <groupId>org.apache.maven.plugins</groupId>
154                     <artifactId>maven-compiler-plugin</artifactId>
155                     <version>3.8.0</version>
156                     <configuration>
157                         <source>${java.version}</source>
158                         <target>${java.version}</target>
159                         <encoding>${project.build.sourceEncoding}</encoding>
160                         <showWarnings>true</showWarnings>
161                         <showDeprecation>true</showDeprecation>
162                     </configuration>
163                 </plugin>
164                 <plugin>
165                     <groupId>org.apache.maven.plugins</groupId>
166                     <artifactId>maven-surefire-plugin</artifactId>
167                     <version>3.0.0-M3</version>
168                 </plugin>
169                 <plugin>
170                     <artifactId>maven-javadoc-plugin</artifactId>
171                     <version>3.0.1</version>
172                     <configuration>
173                         <additionalJOptions>
174                             <additionalJOption>-Xdoclint:none</additionalJOption>
175                         </additionalJOptions>
176                     </configuration>
177                 </plugin>
178                 <plugin>
179                     <artifactId>maven-project-info-reports-plugin</artifactId>
180                     <version>2.9</version>
181                 </plugin>
182                 <plugin>
183                     <groupId>org.codehaus.mojo</groupId>
184                     <artifactId>build-helper-maven-plugin</artifactId>
185                     <version>1.7</version>
186                 </plugin>
187                 <plugin>
188                     <groupId>com.github.os72</groupId>
189                     <artifactId>protoc-jar-maven-plugin</artifactId>
190                     <version>${protoc-jar-maven-plugin.version}</version>
191                 </plugin>
192             </plugins>
193         </pluginManagement>
194     </build>
195
196     <reporting>
197         <plugins>
198             <plugin>
199                 <artifactId>maven-project-info-reports-plugin</artifactId>
200                 <reportSets>
201                     <reportSet>
202                         <reports>
203                             <report>dependencies</report>
204                             <report>license</report>
205                         </reports>
206                     </reportSet>
207                 </reportSets>
208             </plugin>
209         </plugins>
210     </reporting>
211
212     <dependencyManagement>
213         <dependencies>
214             <dependency>
215                 <groupId>com.google.protobuf</groupId>
216                 <artifactId>protobuf-java</artifactId>
217                 <version>${protobuf.version}</version>
218             </dependency>
219             <dependency>
220                 <groupId>org.immutables</groupId>
221                 <artifactId>value</artifactId>
222                 <version>${immutables.version}</version>
223                 <scope>provided</scope>
224             </dependency>
225             <dependency>
226                 <groupId>org.immutables</groupId>
227                 <artifactId>gson</artifactId>
228                 <version>${immutables.version}</version>
229             </dependency>
230             <dependency>
231                 <groupId>io.vavr</groupId>
232                 <artifactId>vavr</artifactId>
233                 <version>${vavr.version}</version>
234             </dependency>
235             <dependency>
236                 <groupId>org.apache.commons</groupId>
237                 <artifactId>commons-text</artifactId>
238                 <version>${commons-text.version}</version>
239             </dependency>
240             <dependency>
241                 <groupId>org.slf4j</groupId>
242                 <artifactId>jul-to-slf4j</artifactId>
243                 <version>${slf4j.version}</version>
244             </dependency>
245             <dependency>
246                 <groupId>org.slf4j</groupId>
247                 <artifactId>log4j-over-slf4j</artifactId>
248                 <version>${slf4j.version}</version>
249             </dependency>
250             <dependency>
251                 <groupId>org.slf4j</groupId>
252                 <artifactId>slf4j-api</artifactId>
253                 <version>${slf4j.version}</version>
254             </dependency>
255             <dependency>
256                 <artifactId>spring-boot-dependencies</artifactId>
257                 <groupId>org.springframework.boot</groupId>
258                 <version>${spring.boot.version}</version>
259                 <type>pom</type>
260                 <scope>import</scope>
261             </dependency>
262             <dependency>
263                 <groupId>org.jetbrains</groupId>
264                 <artifactId>annotations</artifactId>
265                 <version>${jetbrains-annotations.version}</version>
266             </dependency>
267             <dependency>
268                 <groupId>org.openapi4j</groupId>
269                 <artifactId>openapi-schema-validator</artifactId>
270                 <version>${openapi4j.version}</version>
271             </dependency>
272             <dependency>
273                 <groupId>io.projectreactor</groupId>
274                 <artifactId>reactor-bom</artifactId>
275                 <version>${reactor.bom.version}</version>
276                 <type>pom</type>
277                 <scope>import</scope>
278             </dependency>
279             <dependency>
280                 <groupId>ch.qos.logback</groupId>
281                 <artifactId>logback-classic</artifactId>
282                 <version>${logback.version}</version>
283                 <scope>runtime</scope>
284             </dependency>
285             <dependency>
286                 <groupId>org.slf4j</groupId>
287                 <artifactId>jcl-over-slf4j</artifactId>
288                 <version>1.7.26</version>
289                 <scope>runtime</scope>
290             </dependency>
291
292             <dependency>
293                 <groupId>com.github.stefanbirkner</groupId>
294                 <artifactId>system-rules</artifactId>
295                 <version>${system.rules.version}</version>
296                 <scope>test</scope>
297             </dependency>
298             <dependency>
299                 <groupId>org.mockito</groupId>
300                 <artifactId>mockito-core</artifactId>
301                 <version>${mockito.version}</version>
302                 <scope>test</scope>
303             </dependency>
304             <dependency>
305                 <groupId>org.junit.jupiter</groupId>
306                 <artifactId>junit-jupiter-engine</artifactId>
307                 <version>${junit-jupiter.version}</version>
308                 <scope>test</scope>
309             </dependency>
310             <dependency>
311                 <groupId>org.junit.jupiter</groupId>
312                 <artifactId>junit-jupiter-api</artifactId>
313                 <version>${junit-jupiter.version}</version>
314                 <scope>test</scope>
315             </dependency>
316             <dependency>
317                 <groupId>org.assertj</groupId>
318                 <artifactId>assertj-core</artifactId>
319                 <version>${assertj-core.version}</version>
320                 <scope>test</scope>
321             </dependency>
322             <dependency>
323                 <groupId>org.testcontainers</groupId>
324                 <artifactId>testcontainers</artifactId>
325                 <version>${testcontainers.version}</version>
326                 <scope>test</scope>
327             </dependency>
328             <dependency>
329                 <groupId>org.testcontainers</groupId>
330                 <artifactId>junit-jupiter</artifactId>
331                 <version>${testcontainers.version}</version>
332                 <scope>test</scope>
333             </dependency>
334         </dependencies>
335     </dependencyManagement>
336 </project>