aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Donley <christopher.donley@huawei.com>2018-03-20 13:35:25 -0700
committerJessica Wagantall <jwagantall@linuxfoundation.org>2018-03-20 22:14:15 +0000
commit21cb833fef0808880bf5d1d5348e2771b74d3046 (patch)
tree21ed0796acaabb6b20862680cbbedbe361b757c6
parent2394a98f909c260f15dc15bd8d0205afa28dacf3 (diff)
Update pom.xml for sonar support
Update python test configuration in the pom file Issue-ID: VNFSDK-210 Change-Id: I52615cc986587fe7df0f1b8c2ca9608f14b35e7b Signed-off-by: Chris Donley <christopher.donley@huawei.com>
-rw-r--r--pom.xml7
1 files changed, 6 insertions, 1 deletions
diff --git a/pom.xml b/pom.xml
index 7e7fa24..55a001c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -32,11 +32,16 @@ under the License.
<name>vnfsdk-pkgtools</name>
<description>CSAR manipulation shared library with CLI</description>
<properties>
+ <sonar.sourceEncoding>UTF-8</sonar.sourceEncoding>
+ <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.pluginName>python</sonar.pluginName>
<sonar.inclusions>**/*.py</sonar.inclusions>
+ <sonar.exclusions>**/tests/**,**/.tox/py27/**</sonar.exclusions>
+ <sonar.test.inclusions>**/tests/**.py</sonar.test.inclusions>
+ <sonar.test.exclusions>**/**.py,setup.py,**/.tox/py27/**</sonar.test.exclusions>
</properties>
<build>