diff options
author | su622b <su622b@att.com> | 2020-03-11 12:04:12 -0400 |
---|---|---|
committer | su622b <su622b@att.com> | 2020-03-11 12:04:23 -0400 |
commit | b2f9fb0fbcb44d83776e53ec74b3e3597fd486d1 (patch) | |
tree | 2e412fdc302ebe51eea90385d6b7aa8e795b8855 | |
parent | 4dd6518e25543b69d4a0673611587b75bba4e4fe (diff) |
Sonar Cloud migration changes
Issue-ID: DMAAP-1407
Change-Id: Idcd59b005b3a76a168fb25cb9d25040f06916f31
Signed-off-by: su622b <su622b@att.com>
-rw-r--r-- | pom.xml | 28 |
1 files changed, 27 insertions, 1 deletions
@@ -47,7 +47,28 @@ <build> <plugins> - + <plugin> + <groupId>org.jacoco</groupId> + <artifactId>jacoco-maven-plugin</artifactId> + <executions> + <execution> + <id>prepare-agent</id> + <goals> + <goal>prepare-agent</goal> + </goals> + </execution> + <execution> + <id>report</id> + <goals> + <goal>report</goal> + </goals> + <configuration> + <dataFile>${project.build.directory}/code-coverage/jacoco.exec</dataFile> + <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory> + </configuration> + </execution> + </executions> + </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-site-plugin</artifactId> @@ -180,6 +201,11 @@ <nexusproxy>https://nexus.onap.org</nexusproxy> <docker.push.registry>nexus3.onap.org:10003</docker.push.registry> <spring.version>3.2.18.RELEASE</spring.version> + <sonar.language>java</sonar.language> + <sonar.skip>false</sonar.skip> + <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath> + <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths> + <sonar.projectVersion>${project.version}</sonar.projectVersion> </properties> <!-- Distribution management --> |