summaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authorSastry Isukapalli <sastry@research.att.com>2018-03-02 00:10:29 -0500
committerDileep Ranganathan <dileep.ranganathan@intel.com>2018-03-07 05:04:45 -0800
commitb8bad9d2cc5168e55271929a6474184129f31ef2 (patch)
tree175c08e4c88ce758c600a16ce3f5ad75629b60b4 /pom.xml
parentaa358e298d345da0582ad1ea3b496bb44650a4f1 (diff)
Adding SONAR coverage report support
Issue-ID: OPTFRA-102 Change-Id: I67552599ff49dff29f99578b83592dd8d2ced193 Signed-off-by: Sastry Isukapalli <sastry@research.att.com>
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml15
1 files changed, 14 insertions, 1 deletions
diff --git a/pom.xml b/pom.xml
index 3936f39..982ca96 100644
--- a/pom.xml
+++ b/pom.xml
@@ -28,14 +28,27 @@
<groupId>org.onap.optf.osdf</groupId>
<artifactId>optf-osdf</artifactId>
-
<name>optf-osdf</name>
<version>1.1.0-SNAPSHOT</version>
<description>Optimization Service Design Framework</description>
+ <properties>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ <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>
+ </properties>
+
<build>
<plugins>
<plugin>
+ <artifactId>exec-maven-plugin</artifactId>
+ <groupId>org.codehaus.mojo</groupId>
+ </plugin>
+ <plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<appendAssemblyId>false</appendAssemblyId>