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