summaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authorBin Sun <bins@vmware.com>2018-03-05 10:35:30 +0800
committerBin Sun <bins@vmware.com>2018-03-05 14:34:19 +0800
commit379b89a6ba23b6514ffc1aa85b0fdb0c3b78c5cf (patch)
tree933b2984c5cbb9f19233a057a7191eed830ab27d /pom.xml
parentc1d77aefc384025f908494a2843000b7f41e8a4b (diff)
Add code coverage for sonar
Change-Id: I3cca97c960694cb010867cfda57057c2722acdaa Issue-ID: MULTICLOUD-170 Signed-off-by: Bin Sun <bins@vmware.com>
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index e0f05d9..f7c13e0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -33,6 +33,13 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<nexusproxy>https://nexus.onap.org</nexusproxy>
+ <sonar.sources>.</sonar.sources>
+ <sonar.junit.reportsPath>xunit-results.xml</sonar.junit.reportsPath>
+ <sonar.python.coverage.reportPath>vio/coverage.xml</sonar.python.coverage.reportPath>
+ <sonar.language>py</sonar.language>
+ <sonar.pluginName>Python</sonar.pluginName>
+ <sonar.inclusions>**/*.py</sonar.inclusions>
+ <sonar.exclusions>tests/*,setup.py</sonar.exclusions>
</properties>
<build>
</build>