Fix Sonar Jenkins job 61/102261/2
authorDan Timoney <dtimoney@att.com>
Mon, 24 Feb 2020 20:23:37 +0000 (15:23 -0500)
committerDan Timoney <dtimoney@att.com>
Tue, 25 Feb 2020 13:44:06 +0000 (08:44 -0500)
Updated pom.xmls of modules that do not contain 'src/main' directory
to skip Sonar scan.  This allows Sonar scan to complete for the rest
of CDS.  Need to revisit these modules to see whether they should
really be skipped or if sonar properties (e.g. sonar.sources) should
instead be tailored.

Issue-ID: CCSDK-2116
Signed-off-by: Dan Timoney <dtimoney@att.com>
Change-Id: I8b0237886e357a0188633f007dc97cf6e725fa53

components/model-catalog/blueprint-model/test-blueprint/pom.xml
ms/blueprintsprocessor/modules/blueprints/blueprint-proto/pom.xml
ms/py-executor/pom.xml

index f9dab02..3b44eb1 100644 (file)
@@ -35,4 +35,8 @@
         <module>capability_cli</module>
         <module>resource-audit</module>
     </modules>
+
+    <properties>
+        <sonar.skip>true</sonar.skip>
+    </properties>
 </project>
index b208cbd..1e90cca 100644 (file)
     <name>Controller Blueprints Proto</name>
     <description>Controller Blueprints Proto</description>
 
+    <properties>
+        <sonar.skip>true</sonar.skip>
+    </properties>
+
     <dependencies>
         <dependency>
             <groupId>com.github.marcoferrer.krotoplus</groupId>
index 9ede1b2..5c8ac17 100644 (file)
@@ -36,6 +36,7 @@
         <ccsdk.project.version>${project.version}</ccsdk.project.version>
         <ccsdk.build.timestamp>${maven.build.timestamp}</ccsdk.build.timestamp>
         <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
+        <sonar.skip>true</sonar.skip>
     </properties>
 
     <build>