diff options
author | Jorge Hernandez <jh1730@att.com> | 2017-07-26 19:00:54 -0500 |
---|---|---|
committer | Jorge Hernandez <jh1730@att.com> | 2017-07-26 19:00:54 -0500 |
commit | 1550fa87b367809d7c585991d26c7b29a8d46998 (patch) | |
tree | 794f9e4fa5d77112083d0f3dc77a00ffed3d091f /pom.xml | |
parent | 4d38fa9c091dac1247239411e731c520faeeec21 (diff) |
[POLICY-109] set up parent pom for sonar
Change-Id: I89ba6326d5f1bedcd072772945f547cb339456e9
Signed-off-by: Jorge Hernandez <jh1730@att.com>
Diffstat (limited to 'pom.xml')
-rw-r--r-- | pom.xml | 24 |
1 files changed, 21 insertions, 3 deletions
@@ -45,13 +45,16 @@ <http.client.version>4.5</http.client.version> <http.core.version>4.4.4</http.core.version> <logback.version>1.2.3</logback.version> + <sonar.plugin.version>3.2</sonar.plugin.version> + <jacoco.plugin.version>0.7.9</jacoco.plugin.version> <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> - <sonar.jacoco.itReportPath>/opt/app/jacoco-it.exec</sonar.jacoco.itReportPath> - <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero> + <sonar.jacoco.reportMissing.force.zero>false</sonar.jacoco.reportMissing.force.zero> + <sonar.projectVersion>${project.version}</sonar.projectVersion> + <nexusproxy>https://nexus.onap.org</nexusproxy> <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath> <releases.path>content/repositories/releases/</releases.path> @@ -282,13 +285,23 @@ </dependency> </dependencies> </plugin> + + <plugin> + <groupId>org.jacoco</groupId> + <artifactId>jacoco-maven-plugin</artifactId> + </plugin> + + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>sonar-maven-plugin</artifactId> + </plugin> </plugins> <pluginManagement> <plugins> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> - <version>0.7.5.201505241946</version> + <version>${jacoco.plugin.version}</version> <configuration> <dumpOnExit>true</dumpOnExit> <includes> @@ -307,6 +320,11 @@ </execution> </executions> </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>sonar-maven-plugin</artifactId> + <version>${sonar.plugin.version}</version> + </plugin> </plugins> </pluginManagement> </build> |