Adding SONAR coverage report support
[optf/osdf.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index 3936f39..982ca96 100644 (file)
--- a/pom.xml
+++ b/pom.xml
 
     <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>