diff options
author | Ofir Sonsino <os0695@att.com> | 2017-09-11 15:21:09 +0300 |
---|---|---|
committer | Ofir Sonsino <os0695@att.com> | 2017-09-12 10:18:07 +0300 |
commit | 60fcc81d37e64dffe8001e8542466b751aa5a522 (patch) | |
tree | 88471dc05496b077802ec6830f111f7720880622 /epsdk-app-onap/pom.xml | |
parent | 88c6547f8db69a1a354988a6449c659af536c573 (diff) |
Fix SONAR
Issue-ID: VID-60
Change-Id: I19226e3d6f5bd18b202d778bb1b324e7b76f3221
Signed-off-by: Ofir Sonsino <os0695@att.com>
Diffstat (limited to 'epsdk-app-onap/pom.xml')
-rwxr-xr-x | epsdk-app-onap/pom.xml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/epsdk-app-onap/pom.xml b/epsdk-app-onap/pom.xml index bb0f03993..e9f422539 100755 --- a/epsdk-app-onap/pom.xml +++ b/epsdk-app-onap/pom.xml @@ -29,6 +29,14 @@ <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
<stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
<sitePath>/content/sites/site/org/openecomp/vid/${project.version}</sitePath>
+
+ <!-- SONAR -->
+ <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>true</sonar.jacoco.reportMissing.force.zero>
+ <sonar.projectVersion>${project.version}</sonar.projectVersion>
</properties>
<repositories>
@@ -205,6 +213,16 @@ </dependency>
</dependencies>
</plugin>
+
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <version>2.17</version>
+ </plugin>
+ <plugin>
+ <groupId>org.sonarsource.scanner.maven</groupId>
+ <artifactId>sonar-maven-plugin</artifactId>
+ <version>3.2</version>
+ </plugin>
</plugins>
</build>
|