76a0fece4c3502b256cb1e2a462a3d6c733aca72
[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>1.8.9-SNAPSHOT</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.7.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.7.5</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.3</logback.version>
84         <mockito.version>2.28.2</mockito.version>
85         <protobuf.version>3.6.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.5.9</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     </properties>
99
100     <modules>
101         <module>rest-services</module>
102         <module>services</module>
103         <module>security</module>
104         <module>standardization</module>
105         <module>services/common</module>
106     </modules>
107
108     <build>
109         <plugins>
110             <plugin>
111                 <artifactId>maven-javadoc-plugin</artifactId>
112                 <configuration>
113                     <!-- minimize console output messages -->
114                     <quiet>true</quiet>
115                     <verbose>false</verbose>
116                     <useStandardDocletOptions>false</useStandardDocletOptions>
117                 </configuration>
118                 <executions>
119                     <execution>
120                         <id>aggregate</id>
121                         <phase>site</phase>
122                         <goals>
123                             <goal>aggregate</goal>
124                         </goals>
125                     </execution>
126                     <execution>
127                         <id>attach-javadoc</id>
128                         <goals>
129                             <goal>jar</goal>
130                         </goals>
131                     </execution>
132                 </executions>
133             </plugin>
134             <plugin>
135                 <!-- configuration taken intact from oparent -->
136                 <groupId>org.apache.maven.plugins</groupId>
137                 <artifactId>maven-failsafe-plugin</artifactId>
138             </plugin>
139         </plugins>
140
141         <pluginManagement>
142             <plugins>
143                 <plugin>
144                     <groupId>org.apache.maven.plugins</groupId>
145                     <artifactId>maven-resources-plugin</artifactId>
146                     <version>3.1.0</version>
147                     <configuration>
148                         <encoding>${project.build.sourceEncoding}</encoding>
149                     </configuration>
150                 </plugin>
151                 <plugin>
152                     <groupId>org.apache.maven.plugins</groupId>
153                     <artifactId>maven-compiler-plugin</artifactId>
154                     <version>3.8.0</version>
155                     <configuration>
156                         <source>${java.version}</source>
157                         <target>${java.version}</target>
158                         <encoding>${project.build.sourceEncoding}</encoding>
159                         <showWarnings>true</showWarnings>
160                         <showDeprecation>true</showDeprecation>
161                     </configuration>
162                 </plugin>
163                 <plugin>
164                     <groupId>org.apache.maven.plugins</groupId>
165                     <artifactId>maven-surefire-plugin</artifactId>
166                     <version>3.0.0-M3</version>
167                 </plugin>
168                 <plugin>
169                     <artifactId>maven-javadoc-plugin</artifactId>
170                     <version>3.0.1</version>
171                     <configuration>
172                         <additionalJOptions>
173                             <additionalJOption>-Xdoclint:none</additionalJOption>
174                         </additionalJOptions>
175                     </configuration>
176                 </plugin>
177                 <plugin>
178                     <artifactId>maven-project-info-reports-plugin</artifactId>
179                     <version>2.9</version>
180                 </plugin>
181                 <plugin>
182                     <groupId>org.codehaus.mojo</groupId>
183                     <artifactId>build-helper-maven-plugin</artifactId>
184                     <version>1.7</version>
185                 </plugin>
186                 <plugin>
187                     <groupId>com.github.os72</groupId>
188                     <artifactId>protoc-jar-maven-plugin</artifactId>
189                     <version>${protoc-jar-maven-plugin.version}</version>
190                 </plugin>
191             </plugins>
192         </pluginManagement>
193     </build>
194
195     <reporting>
196         <plugins>
197             <plugin>
198                 <artifactId>maven-project-info-reports-plugin</artifactId>
199                 <reportSets>
200                     <reportSet>
201                         <reports>
202                             <report>dependencies</report>
203                             <report>license</report>
204                         </reports>
205                     </reportSet>
206                 </reportSets>
207             </plugin>
208         </plugins>
209     </reporting>
210
211     <dependencyManagement>
212         <dependencies>
213             <dependency>
214                 <groupId>com.google.protobuf</groupId>
215                 <artifactId>protobuf-java</artifactId>
216                 <version>${protobuf.version}</version>
217             </dependency>
218             <dependency>
219                 <groupId>org.immutables</groupId>
220                 <artifactId>value</artifactId>
221                 <version>${immutables.version}</version>
222                 <scope>provided</scope>
223             </dependency>
224             <dependency>
225                 <groupId>org.immutables</groupId>
226                 <artifactId>gson</artifactId>
227                 <version>${immutables.version}</version>
228             </dependency>
229             <dependency>
230                 <groupId>io.vavr</groupId>
231                 <artifactId>vavr</artifactId>
232                 <version>${vavr.version}</version>
233             </dependency>
234             <dependency>
235                 <groupId>org.apache.commons</groupId>
236                 <artifactId>commons-text</artifactId>
237                 <version>${commons-text.version}</version>
238             </dependency>
239             <dependency>
240                 <groupId>org.slf4j</groupId>
241                 <artifactId>jul-to-slf4j</artifactId>
242                 <version>${slf4j.version}</version>
243             </dependency>
244             <dependency>
245                 <groupId>org.slf4j</groupId>
246                 <artifactId>log4j-over-slf4j</artifactId>
247                 <version>${slf4j.version}</version>
248             </dependency>
249             <dependency>
250                 <groupId>org.slf4j</groupId>
251                 <artifactId>slf4j-api</artifactId>
252                 <version>${slf4j.version}</version>
253             </dependency>
254             <dependency>
255                 <artifactId>spring-boot-dependencies</artifactId>
256                 <groupId>org.springframework.boot</groupId>
257                 <version>${spring.boot.version}</version>
258                 <type>pom</type>
259                 <scope>import</scope>
260             </dependency>
261             <dependency>
262                 <groupId>org.jetbrains</groupId>
263                 <artifactId>annotations</artifactId>
264                 <version>${jetbrains-annotations.version}</version>
265             </dependency>
266             <dependency>
267                 <groupId>org.openapi4j</groupId>
268                 <artifactId>openapi-schema-validator</artifactId>
269                 <version>${openapi4j.version}</version>
270             </dependency>
271             <dependency>
272                 <groupId>io.projectreactor</groupId>
273                 <artifactId>reactor-bom</artifactId>
274                 <version>${reactor.bom.version}</version>
275                 <type>pom</type>
276                 <scope>import</scope>
277             </dependency>
278             <dependency>
279                 <groupId>ch.qos.logback</groupId>
280                 <artifactId>logback-classic</artifactId>
281                 <version>${logback.version}</version>
282                 <scope>runtime</scope>
283             </dependency>
284             <dependency>
285                 <groupId>org.slf4j</groupId>
286                 <artifactId>jcl-over-slf4j</artifactId>
287                 <version>1.7.26</version>
288                 <scope>runtime</scope>
289             </dependency>
290
291             <dependency>
292                 <groupId>com.github.stefanbirkner</groupId>
293                 <artifactId>system-rules</artifactId>
294                 <version>${system.rules.version}</version>
295                 <scope>test</scope>
296             </dependency>
297             <dependency>
298                 <groupId>org.mockito</groupId>
299                 <artifactId>mockito-core</artifactId>
300                 <version>${mockito.version}</version>
301                 <scope>test</scope>
302             </dependency>
303             <dependency>
304                 <groupId>org.junit.jupiter</groupId>
305                 <artifactId>junit-jupiter-engine</artifactId>
306                 <version>${junit-jupiter.version}</version>
307                 <scope>test</scope>
308             </dependency>
309             <dependency>
310                 <groupId>org.junit.jupiter</groupId>
311                 <artifactId>junit-jupiter-api</artifactId>
312                 <version>${junit-jupiter.version}</version>
313                 <scope>test</scope>
314             </dependency>
315             <dependency>
316                 <groupId>org.assertj</groupId>
317                 <artifactId>assertj-core</artifactId>
318                 <version>${assertj-core.version}</version>
319                 <scope>test</scope>
320             </dependency>
321             <dependency>
322                 <groupId>org.testcontainers</groupId>
323                 <artifactId>testcontainers</artifactId>
324                 <version>${testcontainers.version}</version>
325                 <scope>test</scope>
326             </dependency>
327             <dependency>
328                 <groupId>org.testcontainers</groupId>
329                 <artifactId>junit-jupiter</artifactId>
330                 <version>${testcontainers.version}</version>
331                 <scope>test</scope>
332             </dependency>
333         </dependencies>
334     </dependencyManagement>
335 </project>