summaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authorChrisC <christophe.closset@intl.att.com>2020-01-27 17:26:24 +0100
committerChrisC <christophe.closset@intl.att.com>2020-01-27 17:36:48 +0100
commit83ad93ca0b3d6c81166a84eadc96e738f723fdb9 (patch)
tree0c6d9b96d530baebd0cc5273ecadeaaca41c54d2 /pom.xml
parent4c4c3fd09235d927e6fc39bc855618da00608b37 (diff)
Fix Sonar
try disabling sonar.scm.exclusions.disabled to avoid .gitignore file being taken into account by Sonar Issue-ID: CLAMP-626 Signed-off-by: ChrisC <christophe.closset@intl.att.com> Change-Id: Ic5ea1d9f2168e983a54132e1acf8ae0d31f081d7 Signed-off-by: ChrisC <christophe.closset@intl.att.com>
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml7
1 files changed, 4 insertions, 3 deletions
diff --git a/pom.xml b/pom.xml
index 8d6e72c0c..c65216f62 100644
--- a/pom.xml
+++ b/pom.xml
@@ -93,10 +93,11 @@
<!-- Enable language to disable javascript analysis -->
<!-- <sonar.language>java</sonar.language> -->
<!-- Parameters for Javascript coverage -->
- <sonar.sources>src/main,${project.build.directory}/${ui.react.src}/src</sonar.sources>
- <sonar.javascript.lcov.reportPaths>${project.build.directory}/${ui.react.src}/coverage/lcov.info</sonar.javascript.lcov.reportPaths>
-
+ <sonar.sources>.</sonar.sources>
+ <sonar.inclusions>src/main/**,${project.build.directory}/${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>
<sonar.coverage.exclusions>src/main/resources/**,target/ui-react/src/**/*.test.js,target/ui-react/src/setupTests.js,src/main/docker/kibana/*.py</sonar.coverage.exclusions>
<docker.push.registry>localhost:5000</docker.push.registry>
<docker.pull.registry>nexus3.onap.org:10001</docker.pull.registry>