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