aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChrisC <christophe.closset@intl.att.com>2020-01-28 14:14:53 +0100
committerChrisC <christophe.closset@intl.att.com>2020-01-28 14:15:17 +0100
commitf04d3755f4b15b877dc291a0824ffc257ced2b61 (patch)
treea40c40ef4489fdba7a679d59832aa141ea19f958
parent9abd198502815fe6f54db06bb84a31fc36cb43e1 (diff)
Fix JS coverage
reverting to sonar.sources to control source origin Issue-ID: CLAMP-626 Signed-off-by: ChrisC <christophe.closset@intl.att.com> Change-Id: I39f33a3486b3534b8a815e5823e281ca1eff29a8
-rw-r--r--pom.xml3
1 files changed, 1 insertions, 2 deletions
diff --git a/pom.xml b/pom.xml
index 5f6d203b9..17e76f64a 100644
--- 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>