diff options
author | Michael Hwang <mhwang@research.att.com> | 2017-09-21 12:19:32 -0400 |
---|---|---|
committer | Michael Hwang <mhwang@research.att.com> | 2017-09-21 17:04:39 -0400 |
commit | e11be5dc15e6800ed6111b7773b9e44571343207 (patch) | |
tree | ab5b973d7239b8942ab27c3ee04455533d6a4f23 /python-dockering/pom.xml | |
parent | 2200894f54019231bfe1a62845dda03e9bb87bd1 (diff) |
Fix tox to give more accurate coverage reports
* Also attempted to get sonar working
* Fixed minor things along the way
Change-Id: I434c0d791140e75cd5997be0cc3fefce7ccc292f
Issue-Id: DCAEGEN2-60
Signed-off-by: Michael Hwang <mhwang@research.att.com>
Diffstat (limited to 'python-dockering/pom.xml')
-rw-r--r-- | python-dockering/pom.xml | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/python-dockering/pom.xml b/python-dockering/pom.xml index afc39a8..0933bcb 100644 --- a/python-dockering/pom.xml +++ b/python-dockering/pom.xml @@ -26,27 +26,21 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property. <version>1.0.0-SNAPSHOT</version> </parent> <groupId>org.onap.dcaegen2.utils</groupId> - <artifactId>onap-dcae-dockering</artifactId> + <artifactId>python-dockering</artifactId> <name>dcaegen2-utils-python-dockering</name> <version>1.0.0-SNAPSHOT</version> <url>http://maven.apache.org</url> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - <sonar.skip>true</sonar.skip> - <!-- customize the SONARQUBE URL --> - <!-- sonar.host.url>http://localhost:9000</sonar.host.url --> - <!-- below are language dependent --> - <!-- for Python --> + + <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> - <!-- for JavaScaript --> - <!-- - <sonar.language>js</sonar.language> - <sonar.pluginName>JS</sonar.pluginName> - <sonar.inclusions>**/*.js</sonar.inclusions> - --> + <sonar.exclusions>tests/*</sonar.exclusions> </properties> <build> <finalName>${project.artifactId}-${project.version}</finalName> |