Disable the javascript poc 71/71071/1
authorsebdet <sebastien.determe@intl.att.com>
Tue, 23 Oct 2018 15:44:36 +0000 (17:44 +0200)
committersebdet <sebastien.determe@intl.att.com>
Tue, 23 Oct 2018 15:44:36 +0000 (17:44 +0200)
Disable the javascript coverage for now, it will be re-enabled in Dublin

Issue-ID: CLAMP-235
Change-Id: I88f48b349f297b6db5fc44387e37d7747e9bf152
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
pom.xml

diff --git a/pom.xml b/pom.xml
index 520f705..d7e82ff 100644 (file)
--- a/pom.xml
+++ b/pom.xml
                                <eelf.core.version>1.0.0</eelf.core.version>
                                <camel.version>2.22.0</camel.version>
                                <springboot.version>2.0.6.RELEASE</springboot.version>
-
+                               
                                <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
                                <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
                                <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
                                <sonar.jacoco.itReportPath>${project.build.directory}/coverage-reports/jacoco-it.exec</sonar.jacoco.itReportPath>
                                <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
-                               <sonar.javascript.lcov.reportPaths>${project.build.directory}/clamp-ui/coverage/lcov.info</sonar.javascript.lcov.reportPaths>
                                <sonar.projectVersion>${project.version}</sonar.projectVersion>
-                               <sonar.sources>src/main,${project.build.directory}/clamp-ui/designer</sonar.sources>
+                               <!-- Enable language to disable javascript analysis -->
+                               <sonar.language>java</sonar.language>
+                               <!-- Parameters for Javascript coverage 
+                                       <sonar.sources>src/main,${project.build.directory}/clamp-ui/designer</sonar.sources>
+                                       <sonar.javascript.lcov.reportPaths>${project.build.directory}/clamp-ui/coverage/lcov.info</sonar.javascript.lcov.reportPaths>
+                                -->
                                <sonar.exclusions>src/main/resources/**,**/clamp-ui/designer/lib/*</sonar.exclusions>
 
                                <docker.push.registry>localhost:5000</docker.push.registry>