Update Sonar check for vfc-nfvo-lcm 21/33521/1
authorfujinhua <fu.jinhua@zte.com.cn>
Thu, 1 Mar 2018 03:00:43 +0000 (11:00 +0800)
committerfujinhua <fu.jinhua@zte.com.cn>
Thu, 1 Mar 2018 03:00:43 +0000 (11:00 +0800)
Change-Id: I7de240c0e3f24228b7deb8d06e1d25ee8ed752e4
Issue-ID: VFC-782
Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
pom.xml

diff --git a/pom.xml b/pom.xml
index be72724..80ae2ff 100644 (file)
--- a/pom.xml
+++ b/pom.xml
     <properties>
         <sonar.skip>false</sonar.skip>
         <sonar.sources>.</sonar.sources>
+        <sonar.host.url>http://localhost:9000</sonar.host.url>
         <sonar.language>py</sonar.language>
         <sonar.pluginName>Python</sonar.pluginName>
         <sonar.inclusions>**/*.py</sonar.inclusions>
     </properties>
     <build>
+        <pluginManagement>
+            <plugins>
+                <plugin>
+                    <groupId>org.codehaus.mojo</groupId>
+                    <artifactId>sonar-maven-plugin</artifactId>
+                    <version>2.7.1</version>
+                </plugin>
+            </plugins>
+        </pluginManagement>
       <plugins>
         <plugin>
             <artifactId>maven-assembly-plugin</artifactId>