Update pom.xml for pkgtools sonar support
Issue-ID: VNFSDK-210
Change-Id: I6feb427dc422ee16488b5dd939ed3bf5896303c7
Signed-off-by: Chris Donley <christopher.donley@huawei.com>
diff --git a/pom.xml b/pom.xml
index a64eff7..28949f5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -34,15 +34,11 @@
<properties>
<sonar.sourceEncoding>UTF-8</sonar.sourceEncoding>
<sonar.sources>vnfsdk_pkgtools</sonar.sources>
- <sonar.tests>tests</sonar.tests>
- <sonar.junit.reportsPath>xunit-results.xml</sonar.junit.reportsPath>
<sonar.python.coverage.reportPath>coverage.xml</sonar.python.coverage.reportPath>
<sonar.language>py</sonar.language>
<sonar.pluginName>python</sonar.pluginName>
- <sonar.inclusions>vnfsdk_pkgtools/**.py</sonar.inclusions>
- <sonar.exclusions>**/tests/**,**/.tox/py27/**</sonar.exclusions>
- <sonar.test.inclusions>**/tests/**.py</sonar.test.inclusions>
- <sonar.test.exclusions>setup.py,.tox/py27/**</sonar.test.exclusions>
+ <sonar.inclusions>vnfsdk_pkgtools/*/**.py</sonar.inclusions>
+ <sonar.exclusions>version.py,setup.py</sonar.exclusions>
</properties>
<build>