aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChrisC <christophe.closset@intl.att.com>2020-01-28 11:00:02 +0100
committerChrisC <christophe.closset@intl.att.com>2020-01-28 11:00:18 +0100
commit9abd198502815fe6f54db06bb84a31fc36cb43e1 (patch)
tree61730ae883f44ee78f53496a5810c81c67f35ef2
parent933f75fb5c4934c0e304c91d011a07a672555483 (diff)
Fix Sonar JS
Trying to apply other properties for JS scan Issue-ID: CLAMP-626 Signed-off-by: ChrisC <christophe.closset@intl.att.com> Change-Id: Iae2cd8014f54260fa90d8f489f1316ac422e99de
-rw-r--r--pom.xml6
1 files changed, 4 insertions, 2 deletions
diff --git a/pom.xml b/pom.xml
index c66f2cfc9..5f6d203b9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -93,9 +93,11 @@
<!-- Enable language to disable javascript analysis -->
<!-- <sonar.language>java</sonar.language> -->
<!-- Parameters for Javascript coverage -->
- <sonar.verbose>true</sonar.verbose>
+ <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.inclusions>src/main/**,${ui.react.src}/src/**</sonar.inclusions>
<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>