aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwr148d <wr148d@att.com>2021-01-21 09:52:18 -0500
committerwr148d <wr148d@att.com>2021-01-21 11:19:38 -0500
commitdd22c1572ea887c6d1a247e3a95ccb3b80295872 (patch)
tree8748c65f54e09a7c1dabee747d38d8383f7a713a
parent1744bb3807362d3059c6226d53f6850ee9302000 (diff)
Modify the pom to try to get java unit test cases to recognize in sonarhonolulu
Issue-ID: AAI-3186 Change-Id: I0b2b4b05fd4a8e8c0409268d5ddd9835a924d372 Signed-off-by: wr148d <wr148d@att.com>
-rw-r--r--pom.xml4
1 files changed, 3 insertions, 1 deletions
diff --git a/pom.xml b/pom.xml
index ac3b00d..2c2b4bc 100644
--- a/pom.xml
+++ b/pom.xml
@@ -43,6 +43,8 @@ limitations under the License.
<sonar.jacoco.reportMissing.force.zero>false</sonar.jacoco.reportMissing.force.zero>
<sonar.projectVersion>${project.version}</sonar.projectVersion>
<sitePath>/content/sites/site/org/onap/aai/${project.artifactId}/${project.version}</sitePath>
+ <sonar.scanner.version>3.7.0.1746</sonar.scanner.version>
+ <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
</properties>
@@ -116,7 +118,7 @@ limitations under the License.
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>sonar-maven-plugin</artifactId>
- <version>3.2</version>
+ <version>${sonar.scanner.version}</version>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>