diff options
author | Andrew Gauld <ag1282@att.com> | 2018-02-21 16:45:51 -0500 |
---|---|---|
committer | Andrew Gauld <ag1282@att.com> | 2018-02-22 08:37:35 -0500 |
commit | 38273b37db94c9c8e79d82e14ea7205d9c2afcd7 (patch) | |
tree | ea2015587a884a9effe82795b8961747c12da5d0 /pom.xml | |
parent | e0117d81950cb8fdb5e56858d11fbfab6f3766a2 (diff) |
Make SONAR code coverage work
Change-Id: I8bd9ca4661ec8821c3fadd28c860791325ef8b36
Issue-ID: DCAEGEN2-355
Signed-off-by: Andrew Gauld <ag1282@att.com>
Diffstat (limited to 'pom.xml')
-rw-r--r-- | pom.xml | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -33,12 +33,13 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property. <url>http://maven.apache.org</url> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - <!-- sonar --> - <sonar.skip>false</sonar.skip> <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>config_binding_service/**.py</sonar.inclusions> + <sonar.inclusions>**/**.py</sonar.inclusions> + <sonar.exclusions>tests/*,setup.py</sonar.exclusions> </properties> <build> <finalName>${project.artifactId}-${project.version}</finalName> |