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>
ms/blueprintsprocessor/functions/pom.xml
ms/blueprintsprocessor/modules/pom.xml
ms/blueprintsprocessor/pom.xml

index e4f8c84..6a560be 100644 (file)
@@ -27,8 +27,8 @@
     <modelVersion>4.0.0</modelVersion>
     <packaging>pom</packaging>
     <artifactId>functions</artifactId>
-    <name>Blueprints Processor Functions POM</name>
-    <description>Blueprints Processor Functions POM</description>
+    <name>Blueprints Processor Functions</name>
+    <description>Blueprints Processor Functions</description>
     <modules>
         <module>resource-resolution</module>
         <module>python-executor</module>
index 0230cd7..f0de54f 100644 (file)
@@ -28,7 +28,7 @@
 
     <artifactId>modules</artifactId>
     <packaging>pom</packaging>
-    <name>Blueprints Processor Modules POM</name>
+    <name>Blueprints Processor Modules</name>
     <description>Blueprints Processor Modules</description>
 
     <modules>
index 4e119b7..c6840b4 100644 (file)
        <modelVersion>4.0.0</modelVersion>
        <parent>
                <groupId>org.onap.ccsdk.apps</groupId>
-               <artifactId>ccsdk-apps</artifactId>
+               <artifactId>ccsdk-apps-ms</artifactId>
                <version>0.4.0-SNAPSHOT</version>
        </parent>
        <artifactId>blueprintsprocessor</artifactId>
        <packaging>pom</packaging>
-       <name>Blueprints Processor POM</name>
-       <description>Blueprints Processor POM</description>
+       <name>Blueprints Processor Root</name>
+       <description>Blueprints Processor Root</description>
 
        <properties>
                <service.name>BlueprintsProcessor</service.name>