Add Sonar Kotlin support
authorAlexis de Talhouët <adetalhouet89@gmail.com>
Thu, 3 Jan 2019 21:53:40 +0000 (16:53 -0500)
committerAlexis de Talhouët <alexis.de_talhouet@bell.ca>
Fri, 4 Jan 2019 14:51:27 +0000 (14:51 +0000)
Rework parent pom so configuration can be inherited for all
modules from root ccsdk-apps/pom.xml.
Also updated some pom description so it is better presented
within Sonar.

These commands can be used locally to publish report to Sonar:

   mvn clean install -e -Dsonar
   mvn sonar:sonar -e -Dsonar -Dsonar.host.url=https://sonar.onap.org

Note: kotlin code coverage is not fully functional due to
https://github.com/jacoco/jacoco/issues/763
That issue has been fixed in jacoco master branch, but hasn't
been released. Once released, in version 0.8.3, we can override
version of jacoco plugin for ccsdk-apps.

Change-Id: Ic382a4d0df9d14a82536993d2dfa55d7f105f951
Issue-ID: CCSDK-725
Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
components/parent/pom.xml
components/pom.xml

index 1330279..2307a0d 100644 (file)
@@ -26,7 +26,7 @@
     </parent>
     <groupId>org.onap.ccsdk.apps.components</groupId>
     <artifactId>parent</artifactId>
-    <name>App Components Parent</name>
+    <name>Components Parent</name>
     <packaging>pom</packaging>
     <properties>
         <spring.boot.version>2.1.1.RELEASE</spring.boot.version>
index 181a781..6a2aa31 100644 (file)
@@ -23,9 +23,8 @@
         <version>0.4.0-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
-    <groupId>org.onap.ccsdk.apps</groupId>
     <artifactId>components</artifactId>
-    <name>App Components Root</name>
+    <name>Components Root</name>
     <packaging>pom</packaging>
     <properties>
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>