Fix: Run both sonar and clm scans in parallel
[ccsdk/cds.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index d916d1e..476de6f 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -16,20 +16,19 @@ 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.
 -->
-
 <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/xsd/maven-4.0.0.xsd">
     <modelVersion>4.0.0</modelVersion>
 
     <parent>
         <groupId>org.onap.ccsdk.parent</groupId>
-        <artifactId>spring-boot-starter-parent</artifactId>
-        <version>2.1.0-SNAPSHOT</version>
+        <artifactId>spring-boot-27-starter-parent</artifactId>
+        <version>2.6.1</version>
         <relativePath/>
     </parent>
 
     <groupId>org.onap.ccsdk.cds</groupId>
     <artifactId>cds-aggregator</artifactId>
-    <version>1.1.0-SNAPSHOT</version>
+    <version>1.6.0-SNAPSHOT</version>
     <packaging>pom</packaging>
 
     <name>Aggregator</name>
@@ -55,24 +54,40 @@ limitations under the License.
         <!--Only include java and kt files to the scan-->
         <sonar.inclusions>**/*.java,**/*.kt</sonar.inclusions>
         <!--Specify path to load jacoco XLM report, as Sonar can't load Kotlin coverage from binary report-->
-        <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml
-        </sonar.coverage.jacoco.xmlReportPaths>
-        <jacoco.version>0.8.3</jacoco.version>
+        <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
+        <jacoco.version>0.8.7</jacoco.version>
 
         <!-- Properties for POM Format -->
         <format.skipValidate>false</format.skipValidate>
         <format.skipExecute>true</format.skipExecute>
+
         <java.version>11</java.version>
         <maven-surefire-plugin.version>3.0.0-M5</maven-surefire-plugin.version>
         <maven-failsafe-plugin.version>3.0.0-M5</maven-failsafe-plugin.version>
 
         <!-- docker related properties -->
+        <assembly.id>maven</assembly.id>
         <docker.verbose>true</docker.verbose>
         <docker.skip.push>false</docker.skip.push>
+        <name.space>org.onap.ccsdk.cds</name.space>
         <ccsdk.build.timestamp>${maven.build.timestamp}</ccsdk.build.timestamp>
         <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
 
+        <ccsdk.sli.version>1.5.2</ccsdk.sli.version>
         <ccsdk.cds.version>${project.version}</ccsdk.cds.version>
+
+        <kotlin.version>1.7.0</kotlin.version>
+        <kotlin.maven.version>1.6.21</kotlin.maven.version>
+        <kotlin.couroutines.version>1.6.4</kotlin.couroutines.version>
+        <kotlinpoet.version>1.11.0</kotlinpoet.version>
+        <apache.httpcomponents.client.version>4.5.13</apache.httpcomponents.client.version>
+
+        <grpc.version>1.29.0</grpc.version>
+        <netty-ssl>2.0.50.Final</netty-ssl>
+        <protobuff.java.version>3.10.0</protobuff.java.version>
+        <protobuff.java.utils.version>3.16.3</protobuff.java.utils.version>
+        <mockk.version>1.12.8</mockk.version>
+
     </properties>
 
     <build>
@@ -83,6 +98,9 @@ limitations under the License.
                     <groupId>org.codehaus.mojo</groupId>
                     <artifactId>tidy-maven-plugin</artifactId>
                     <version>1.1.0</version>
+                    <configuration>
+                        <lineLength>120</lineLength>
+                    </configuration>
                     <executions>
                         <execution>
                             <id>format-pom</id>
@@ -160,7 +178,7 @@ limitations under the License.
                 <plugin>
                     <groupId>org.commonjava.maven.plugins</groupId>
                     <artifactId>directory-maven-plugin</artifactId>
-                    <version>0.3</version>
+                    <version>1.0</version>
                     <executions>
                         <execution>
                             <phase>validate</phase>
@@ -179,7 +197,7 @@ limitations under the License.
                 <plugin>
                     <groupId>net.revelc.code.formatter</groupId>
                     <artifactId>formatter-maven-plugin</artifactId>
-                    <version>2.12.0</version>
+                    <version>2.17.1</version>
                     <executions>
                         <execution>
                             <id>format-java</id>