Update Sonar check for vfc-nfvo-lcm 35/33535/1
authorfujinhua <fu.jinhua@zte.com.cn>
Thu, 1 Mar 2018 06:49:12 +0000 (14:49 +0800)
committerfujinhua <fu.jinhua@zte.com.cn>
Thu, 1 Mar 2018 06:49:12 +0000 (14:49 +0800)
Change-Id: I119e60f67faa237c28e40b87f1be94fbd27c0425
Issue-ID: VFC-782
Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
pom.xml

diff --git a/pom.xml b/pom.xml
index 80ae2ff..767c02e 100644 (file)
--- a/pom.xml
+++ b/pom.xml
     <name>vfc-nfvo-lcm</name>
     <description>vfc nfvo lcm</description>
     <properties>
-        <sonar.skip>false</sonar.skip>
+        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
         <sonar.sources>.</sonar.sources>
-        <sonar.host.url>http://localhost:9000</sonar.host.url>
+        <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.pluginname>python</sonar.pluginname>
+        <sonar.inclusions>**/**.py</sonar.inclusions>
+        <sonar.exclusions>*tests*</sonar.exclusions>
     </properties>
     <build>
         <pluginManagement>