Fix SONAR 61/11661/2
authorOfir Sonsino <os0695@att.com>
Mon, 11 Sep 2017 12:21:09 +0000 (15:21 +0300)
committerOfir Sonsino <os0695@att.com>
Tue, 12 Sep 2017 07:18:07 +0000 (10:18 +0300)
Issue-ID: VID-60
Change-Id: I19226e3d6f5bd18b202d778bb1b324e7b76f3221
Signed-off-by: Ofir Sonsino <os0695@att.com>
epsdk-app-onap/pom.xml

index bb0f039..e9f4225 100755 (executable)
                <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>\r
                <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>\r
                <sitePath>/content/sites/site/org/openecomp/vid/${project.version}</sitePath>\r
+               \r
+               <!-- SONAR -->\r
+        <sonar.language>java</sonar.language>\r
+        <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>\r
+        <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>\r
+        <sonar.jacoco.reportPath>${project.build.directory}/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>\r
+        <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>\r
+        <sonar.projectVersion>${project.version}</sonar.projectVersion>\r
        </properties>\r
 \r
        <repositories>\r
                                        </dependency>\r
                                </dependencies>\r
                        </plugin>\r
+                       \r
+                       <plugin>\r
+                <artifactId>maven-surefire-plugin</artifactId>\r
+                <version>2.17</version>\r
+            </plugin>\r
+                       <plugin>\r
+                <groupId>org.sonarsource.scanner.maven</groupId>\r
+                <artifactId>sonar-maven-plugin</artifactId>\r
+                <version>3.2</version>\r
+            </plugin>\r
                </plugins>\r
        </build>\r
 \r