diff options
author | Chris Donley <christopher.donley@huawei.com> | 2018-03-20 13:35:25 -0700 |
---|---|---|
committer | Jessica Wagantall <jwagantall@linuxfoundation.org> | 2018-03-20 22:14:15 +0000 |
commit | 21cb833fef0808880bf5d1d5348e2771b74d3046 (patch) | |
tree | 21ed0796acaabb6b20862680cbbedbe361b757c6 /pom.xml | |
parent | 2394a98f909c260f15dc15bd8d0205afa28dacf3 (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>
Diffstat (limited to 'pom.xml')
-rw-r--r-- | pom.xml | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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> |