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