diff options
author | ChrisC <christophe.closset@intl.att.com> | 2020-01-27 17:26:24 +0100 |
---|---|---|
committer | ChrisC <christophe.closset@intl.att.com> | 2020-01-27 17:36:48 +0100 |
commit | 83ad93ca0b3d6c81166a84eadc96e738f723fdb9 (patch) | |
tree | 0c6d9b96d530baebd0cc5273ecadeaaca41c54d2 | |
parent | 4c4c3fd09235d927e6fc39bc855618da00608b37 (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>
-rw-r--r-- | pom.xml | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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> |