summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIttay Stern <ittay.stern@att.com>2019-02-26 06:32:43 +0200
committerIttay Stern <ittay.stern@att.com>2019-02-26 06:32:43 +0200
commiteda8140094356bbc36bef21553787b006aff2449 (patch)
tree304683d35a5ddf40af5f0fc35d01df6e52d78c1c
parent67a23aba7e4fcbd52bdd9eb54db944761c968fcc (diff)
Ignore any .js file on sonar report
Change-Id: I7cf9f79a7ec2fbba0ab331a3fbf527d54c3015fb Issue-ID: VID-425 Signed-off-by: Ittay Stern <ittay.stern@att.com>
-rwxr-xr-xepsdk-app-onap/pom.xml2
-rwxr-xr-xvid-app-common/pom.xml1
2 files changed, 2 insertions, 1 deletions
diff --git a/epsdk-app-onap/pom.xml b/epsdk-app-onap/pom.xml
index 037a07898..43d1db4f4 100755
--- a/epsdk-app-onap/pom.xml
+++ b/epsdk-app-onap/pom.xml
@@ -34,7 +34,7 @@
<sonar.surefire.reportPaths>${project.build.directory}/surefire-reports</sonar.surefire.reportPaths>
<sonar.projectVersion>${project.version}</sonar.projectVersion>
<!-- ignore all .js files on sonar coverage report -->
- <sonar.coverage.exclusions>**/*.js</sonar.coverage.exclusions>
+ <sonar.coverage.exclusions>**/webapp/**/*,**/*.js</sonar.coverage.exclusions>
</properties>
<repositories>
diff --git a/vid-app-common/pom.xml b/vid-app-common/pom.xml
index c55d97864..22911c25a 100755
--- a/vid-app-common/pom.xml
+++ b/vid-app-common/pom.xml
@@ -24,6 +24,7 @@
<jackson.version>2.9.7</jackson.version>
<jersey.version>2.27</jersey.version>
<surefire.version>2.22.1</surefire.version>
+ <sonar.coverage.exclusions>**/webapp/**/*,**/*.js</sonar.coverage.exclusions>
<!-- Skip assembling the zip by default -->
<skipassembly>true</skipassembly>