diff options
author | wr148d <wr148d@att.com> | 2021-02-24 08:24:32 -0500 |
---|---|---|
committer | wr148d <wr148d@att.com> | 2021-02-24 08:24:32 -0500 |
commit | 1b2025915075ba258d6af716122b61b5e278939d (patch) | |
tree | 3d388c56f3039adee0d54dbc80e57ee74cd97082 /pom.xml | |
parent | bfb10c6309038d672fd41f5b40133aeedc9c02cf (diff) |
Trying to get the sonar code coverage metric back for schema-service
Issue-ID: AAI-3276
Signed-off-by: wr148d <wr148d@att.com>
Change-Id: Ie5bf6b23f5a107e8e85ee1b40e416b93a698928e
Diffstat (limited to 'pom.xml')
-rw-r--r-- | pom.xml | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -65,11 +65,26 @@ <maven-compiler-plugin.test.source>8</maven-compiler-plugin.test.source> <maven-compiler-plugin.test.target>8</maven-compiler-plugin.test.target> <slf4j.version>1.7.26</slf4j.version> + <!-- Sonar Properties --> + <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}/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath> + <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> <build> <pluginManagement> <plugins> <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>sonar-maven-plugin</artifactId> + <version>${sonar.scanner.version}</version> + </plugin> + <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-site-plugin</artifactId> <version>${maven-site-plugin.version}</version> |