[DCAE] INFO.yaml update
[dcaegen2/services/sdk.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index 4f944a5..68b3720 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -1,4 +1,17 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+============LICENSE_START=======================================================
+Copyright (c) 2022 Nokia. All rights reserved.
+================================================================================
+Licensed under the Apache License, Version 2.0 (the "License"); you may not
+use this file except in compliance with the License. You may obtain a copy
+of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required
+by applicable law or agreed to in writing, software distributed under the
+License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
+OF ANY KIND, either express or implied. See the License for the specific
+language governing permissions and limitations under the License.
+============LICENSE_END=========================================================
+-->
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
     <modelVersion>4.0.0</modelVersion>
@@ -11,7 +24,7 @@
 
     <groupId>org.onap.dcaegen2.services</groupId>
     <artifactId>sdk</artifactId>
-    <version>1.3.0-SNAPSHOT</version>
+    <version>${revision}</version>
 
     <name>dcaegen2-services-sdk</name>
     <description>Common SDK repo for all DCAE Services</description>
         </license>
     </licenses>
 
+    <profiles>
+        <profile>
+            <id>default</id>
+            <activation>
+                <activeByDefault>true</activeByDefault>
+            </activation>
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-failsafe-plugin</artifactId>
+                        <configuration>
+                            <skipITs>true</skipITs>
+                        </configuration>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+        <profile>
+            <id>integration-pairwise</id>
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-surefire-plugin</artifactId>
+                        <configuration>
+                            <skipTests>true</skipTests>
+                        </configuration>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+    </profiles>
+
     <properties>
-        <java.version>8</java.version>
-        <junit-jupiter.version>5.3.1</junit-jupiter.version>
-        <junit-vintage.version>5.3.1</junit-vintage.version>
+        <java.version>11</java.version>
+        <junit-jupiter.version>5.9.0</junit-jupiter.version>
+        <junit-vintage.version>5.7.0</junit-vintage.version>
         <junit-platform.version>1.3.1</junit-platform.version>
-        <immutables.version>2.7.5</immutables.version>
+        <immutables.version>2.9.0</immutables.version>
         <assertj-core.version>3.12.2</assertj-core.version>
-        <reactor.bom.version>Californium-SR8</reactor.bom.version>
+        <reactor.bom.version>2020.0.1</reactor.bom.version>
         <slf4j.version>1.7.25</slf4j.version>
-        <logback.version>1.2.3</logback.version>
+        <logback.version>1.2.11</logback.version>
         <mockito.version>2.28.2</mockito.version>
-        <protobuf.version>3.6.1</protobuf.version>
-        <vavr.version>0.10.0</vavr.version>
+        <protobuf.version>3.21.1</protobuf.version>
+        <vavr.version>0.10.2</vavr.version>
         <commons-text.version>1.6</commons-text.version>
         <jetbrains-annotations.version>16.0.3</jetbrains-annotations.version>
         <protoc-jar-maven-plugin.version>3.6.0.2</protoc-jar-maven-plugin.version>
-        <testcontainers.version>1.11.2</testcontainers.version>
-        <spring.boot.version>2.1.5.RELEASE</spring.boot.version>
+        <testcontainers.version>1.15.1</testcontainers.version>
+        <spring.boot.version>2.7.2</spring.boot.version>
+        <system.rules.version>1.17.2</system.rules.version>
+        <openapi4j.version>1.0.3</openapi4j.version>
+        <mockserver-client.version>5.11.2</mockserver-client.version>
+        <sonar.coverage.jacoco.xmlReportPaths>
+            ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml
+        </sonar.coverage.jacoco.xmlReportPaths>
+        <revision>1.8.10-SNAPSHOT</revision>
     </properties>
 
     <modules>
         <module>services</module>
         <module>security</module>
         <module>standardization</module>
+        <module>services/common</module>
     </modules>
 
     <build>
                 <plugin>
                     <groupId>org.apache.maven.plugins</groupId>
                     <artifactId>maven-surefire-plugin</artifactId>
-                    <version>2.22.1</version>
+                    <version>3.0.0-M3</version>
                 </plugin>
                 <plugin>
                     <artifactId>maven-javadoc-plugin</artifactId>
                 <artifactId>annotations</artifactId>
                 <version>${jetbrains-annotations.version}</version>
             </dependency>
+            <dependency>
+                <groupId>org.openapi4j</groupId>
+                <artifactId>openapi-schema-validator</artifactId>
+                <version>${openapi4j.version}</version>
+            </dependency>
             <dependency>
                 <groupId>io.projectreactor</groupId>
                 <artifactId>reactor-bom</artifactId>
                 <scope>runtime</scope>
             </dependency>
 
+            <dependency>
+                <groupId>com.github.stefanbirkner</groupId>
+                <artifactId>system-rules</artifactId>
+                <version>${system.rules.version}</version>
+                <scope>test</scope>
+            </dependency>
             <dependency>
                 <groupId>org.mockito</groupId>
                 <artifactId>mockito-core</artifactId>