Fix JS coverage 50/100850/1
authorChrisC <christophe.closset@intl.att.com>
Tue, 28 Jan 2020 13:14:53 +0000 (14:14 +0100)
committerChrisC <christophe.closset@intl.att.com>
Tue, 28 Jan 2020 13:15:17 +0000 (14:15 +0100)
reverting to sonar.sources to control source origin

Issue-ID: CLAMP-626
Signed-off-by: ChrisC <christophe.closset@intl.att.com>
Change-Id: I39f33a3486b3534b8a815e5823e281ca1eff29a8

pom.xml

diff --git a/pom.xml b/pom.xml
index 5f6d203..17e76f6 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -96,8 +96,7 @@
                <sonar.log.level>DEBUG</sonar.log.level>
         <sonar.nodejs.executable>${project.build.directory}/${ui.react.src}/node/node</sonar.nodejs.executable>
         <sonar.verbose>true</sonar.verbose>
-               <sonar.sources>.</sonar.sources>
-               <sonar.inclusions>src/main/**,${ui.react.src}/src/**</sonar.inclusions>
+               <sonar.sources>src/main,${project.build.directory}/${ui.react.src}/src</sonar.sources>
                <sonar.exclusions>src/main/resources/**</sonar.exclusions>
                <sonar.scm.exclusions.disabled>true</sonar.scm.exclusions.disabled>
                <sonar.javascript.lcov.reportPaths>${project.build.directory}/${ui.react.src}/coverage/lcov.info</sonar.javascript.lcov.reportPaths>