summaryrefslogtreecommitdiffstats
path: root/cdap
diff options
context:
space:
mode:
authorAndrew Gauld <ag1282@att.com>2018-02-22 16:22:33 -0500
committerAndrew Gauld <ag1282@att.com>2018-02-22 16:24:37 -0500
commitb7c2ad68730bb75c3e468f94269d27160c50f2e5 (patch)
tree003b682d5388f6ff72ac8f25602840f8c9f3a6a2 /cdap
parentb758d3686595c03eeb1bfe4f50b86f28b7b8c86f (diff)
Make cdap plugin SONAR code cov work
Change-Id: Ib2a3bb760c3906885256d53f1de14d360b53bbd1 Issue-ID: DCAEGEN2-355 Signed-off-by: Andrew Gauld <ag1282@att.com>
Diffstat (limited to 'cdap')
-rw-r--r--cdap/pom.xml11
1 files changed, 6 insertions, 5 deletions
diff --git a/cdap/pom.xml b/cdap/pom.xml
index e0907c5..477d68d 100644
--- a/cdap/pom.xml
+++ b/cdap/pom.xml
@@ -33,13 +33,14 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property.
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <sonar.sources>cdapplugin/</sonar.sources>
- <sonar.junit.reportspath>cdapplugin/xunit-results.xml</sonar.junit.reportspath>
- <sonar.python.coverage.reportpath>cdapplugin/coverage.xml</sonar.python.coverage.reportpath>
+ <sonar.sources>.</sonar.sources>
+ <sonar.modules>cdapplugin</sonar.modules>
+ <cdapplugin.sonar.junit.reportsPath>xunit-results.xml</cdapplugin.sonar.junit.reportsPath>
+ <cdapplugin.sonar.python.coverage.reportPath>coverage.xml</cdapplugin.sonar.python.coverage.reportPath>
<sonar.language>py</sonar.language>
<sonar.pluginname>Python</sonar.pluginname>
- <sonar.inclusions>cdapcloudify/**/*.py</sonar.inclusions>
- <sonar.exclusions>cdapcloudify/test/*,cdapcloudify/setup.py</sonar.exclusions>
+ <cdapplugin.sonar.inclusions>**/*.py</cdapplugin.sonar.inclusions>
+ <cdapplugin.sonar.exclusions>tests/*,setup.py</cdapplugin.sonar.exclusions>
</properties>
<build>
<finalName>${project.artifactId}-${project.version}</finalName>