aboutsummaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml12
1 files changed, 10 insertions, 2 deletions
diff --git a/pom.xml b/pom.xml
index a021437..3f4ede4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -50,6 +50,11 @@
<version.output>target/version</version.output>
<onap.nexus.javadocs-url>dav:https://nexus.onap.org/content/sites/site/org/onap/msb/discovery/${project.version}</onap.nexus.javadocs-url>
+
+ <sonar.language>java</sonar.language>
+ <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
+ <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
+ <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
</properties>
<modules>
@@ -110,8 +115,11 @@
<artifactId>versions-maven-plugin</artifactId>
<version>2.3</version>
</plugin>
-
-
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>sonar-maven-plugin</artifactId>
+ <version>3.2</version>
+ </plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>2.7</version>