Move pom for sonar analyses into ricsdl-package 00/2300/4
authorLott, Christopher (cl778h) <cl778h@att.com>
Tue, 21 Jan 2020 21:51:30 +0000 (16:51 -0500)
committerLott, Christopher (cl778h) <cl778h@att.com>
Wed, 22 Jan 2020 15:04:11 +0000 (10:04 -0500)
The test coverage data file is written by tox into ricsdl-package,
so launch maven at that directory, not in the repo root.
Drop ricsdl-package/ prefix from sonar.source and other properties.
Add directory names to sonar.inclusions property.

Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
Change-Id: I23a47a1c61d584c35429b9b40fd3098e5f4cb565

ricsdl-package/pom.xml [moved from pom.xml with 90% similarity]

similarity index 90%
rename from pom.xml
rename to ricsdl-package/pom.xml
index d791c00..4f102fe 100644 (file)
--- a/pom.xml
@@ -26,13 +26,13 @@ platform project (RICP).
   <version>0</version>
   <properties>
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-    <sonar.sources>ricsdl-package</sonar.sources>
+    <sonar.sources>.</sonar.sources>
     <sonar.junit.reportsPath>xunit-results.xml</sonar.junit.reportsPath>
     <sonar.python.coverage.reportPaths>coverage.xml</sonar.python.coverage.reportPaths>
     <sonar.python.xunit.reportPath>xunit-results.xml</sonar.python.xunit.reportPath>
     <sonar.language>py</sonar.language>
     <sonar.pluginname>python</sonar.pluginname>
-    <sonar.inclusions>ricsdl-package/*.py</sonar.inclusions>
-    <sonar.exclusions>ricsdl-package/tests/*,setup.py</sonar.exclusions>
+    <sonar.inclusions>ricsdl/*.py,ricsdl/backend/*.py</sonar.inclusions>
+    <sonar.exclusions>tests/*,setup.py</sonar.exclusions>
   </properties>
 </project>