Ignore any .js file on sonar report 19/79119/1
authorIttay Stern <ittay.stern@att.com>
Mon, 25 Feb 2019 17:21:32 +0000 (19:21 +0200)
committerIttay Stern <ittay.stern@att.com>
Mon, 25 Feb 2019 17:23:07 +0000 (19:23 +0200)
- Upgrade Sonar plugin to latest
- Upgrade JaCoCo to latest

Change-Id: I85f1651410dc650b8d0b8d71e1db92c2416f2793
Issue-ID: VID-425
Signed-off-by: Ittay Stern <ittay.stern@att.com>
epsdk-app-onap/pom.xml
pom.xml
vid-app-common/pom.xml

index 0f4da02..037a078 100755 (executable)
         <sitePath>/content/sites/site/org/onap/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.surefire.reportPaths>${project.build.directory}/surefire-reports</sonar.surefire.reportPaths>
         <sonar.projectVersion>${project.version}</sonar.projectVersion>
-        <!-- ignore all .js files on sonar report -->
-        <sonar.exclusions>**/*.js</sonar.exclusions>
+        <!-- ignore all .js files on sonar coverage report -->
+        <sonar.coverage.exclusions>**/*.js</sonar.coverage.exclusions>
     </properties>
 
     <repositories>
             <plugin>
               <groupId>org.sonarsource.scanner.maven</groupId>
               <artifactId>sonar-maven-plugin</artifactId>
-              <version>3.3.0.603</version>
+              <version>3.6.0.1398</version>
             </plugin>
             <plugin>
                 <groupId>org.jacoco</groupId>
                 <artifactId>jacoco-maven-plugin</artifactId>
-                <version>0.7.9</version>
+                <version>0.8.3</version>
                 <executions>
                     <execution>
                         <id>default-prepare-agent</id>
diff --git a/pom.xml b/pom.xml
index eff3649..93667ce 100644 (file)
--- a/pom.xml
+++ b/pom.xml
             <plugin>
                 <groupId>org.sonarsource.scanner.maven</groupId>
                 <artifactId>sonar-maven-plugin</artifactId>
-                <version>3.3.0.603</version>
+                <version>3.6.0.1398</version>
             </plugin>
             <plugin>
                 <groupId>com.blackducksoftware.integration</groupId>
index aff2cc8..c55d978 100755 (executable)
             <plugin>
                 <groupId>org.jacoco</groupId>
                 <artifactId>jacoco-maven-plugin</artifactId>
-                <version>0.7.9</version>
+                <version>0.8.3</version>
                 <executions>
                     <execution>
                         <id>default-prepare-agent</id>