summaryrefslogtreecommitdiffstats
path: root/nfvparser/pom.xml
diff options
context:
space:
mode:
authorshangxdy <shang.xiaodong@zte.com.cn>2018-03-16 15:33:25 +0800
committershangxdy <shang.xiaodong@zte.com.cn>2018-03-16 15:36:00 +0800
commit2281756b792be521d50c48e5b55787af0b547a81 (patch)
tree39063b1c8c7e39a3ba2fee508b28b5483f790672 /nfvparser/pom.xml
parentb7165820de2d5bd56e874c496e85dfc5dadda94d (diff)
Add some configuration for sonar
Modify pom.xml for python code scan Issue-ID: MODELING-74 Change-Id: I1559da93b020993043586437065429004c6a728c Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
Diffstat (limited to 'nfvparser/pom.xml')
-rw-r--r--nfvparser/pom.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/nfvparser/pom.xml b/nfvparser/pom.xml
index 2b27862..be9d1b7 100644
--- a/nfvparser/pom.xml
+++ b/nfvparser/pom.xml
@@ -27,6 +27,16 @@
<packaging>pom</packaging>
<name>modeling-toscaparsers</name>
<description>modeling/toscaparsers/nfvparser</description>
+ <properties>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ <sonar.sources>.</sonar.sources>
+ <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>**/**.py</sonar.inclusions>
+ <sonar.exclusions>**/tests/**.py,**/test*.py</sonar.exclusions>
+ </properties>
<build>
<plugins>
<plugin>