Fix the sonar scirpt issue under multivimbroker 63/82763/1
authorliboNet <libo.zhu@intel.com>
Wed, 20 Mar 2019 23:13:32 +0000 (07:13 +0800)
committerliboNet <libo.zhu@intel.com>
Wed, 20 Mar 2019 23:14:38 +0000 (07:14 +0800)
move the sonar related setting to submodule

Change-Id: I64ce83a0c7f362f49e68c2f9ae8c77e0d0a376a2
Issue-ID: MULTICLOUD-532
Signed-off-by: liboNet <libo.zhu@intel.com>
multivimbroker/pom.xml
pom.xml

index d9da20a..3f88a70 100644 (file)
         <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>coverage.xml</sonar.python.coverage.reportPath>
+        <sonar.language>py</sonar.language>
+        <sonar.pluginName>Python</sonar.pluginName>
+        <sonar.inclusions>**/*.py</sonar.inclusions>
+        <sonar.exclusions>**/venv-tox/**,**/.tox/**, **/tests/**,setup.py</sonar.exclusions>
     </properties>
     <build>
       <pluginManagement>
diff --git a/pom.xml b/pom.xml
index 866ab9b..79a1f92 100644 (file)
--- a/pom.xml
+++ b/pom.xml
     <packaging>pom</packaging>
     <name>multicloud-framework</name>
     <description>multicloud broker</description>
-    <properties>
-        <sonar.sourceEncoding>UTF-8</sonar.sourceEncoding>
-        <sonar.sources>.</sonar.sources>
-        <sonar.junit.reportsPath>xunit-results.xml</sonar.junit.reportsPath>
-        <sonar.python.coverage.reportPath>multivimbroker/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>
     <modules>
         <module>multivimbroker</module>
         <module>artifactbroker</module>

© 2017 ONAP. Copyright © The Linux Foundation ®. All Rights Reserved.
The Linux Foundation has registered trademarks and uses trademarks.
For a list of trademarks of The Linux Foundation, please see our Trademark Usage page.
Linux is a registered trademark of Linus Torvalds.
Privacy Policy and Terms of Use