aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPamela Dragosh <pdragosh@research.att.com>2017-09-20 13:37:03 -0400
committerPamela Dragosh <pdragosh@research.att.com>2017-09-20 13:39:27 -0400
commit71d31150192f08f146896f1abedb1155428a0e20 (patch)
treea9039f3aaadb59630dfa8f8228487673f35d2c91
parent515e216bd6e561a73810c1b970307b177ecde8d1 (diff)
Modify pom to exclude 3rd party javascript
The 3rd party javascript and css code is provided by portal team and should not be included in code coverage for sonar. Issue-ID: POLICY-253 Change-Id: I7a03dda032d06452f806dbb768338d6ca55b6375 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
-rw-r--r--ONAP-SDK-APP/pom.xml1
-rw-r--r--POLICY-SDK-APP/pom.xml1
2 files changed, 2 insertions, 0 deletions
diff --git a/ONAP-SDK-APP/pom.xml b/ONAP-SDK-APP/pom.xml
index aae25fa94..e6ef8ed1e 100644
--- a/ONAP-SDK-APP/pom.xml
+++ b/ONAP-SDK-APP/pom.xml
@@ -38,6 +38,7 @@
<skipassembly>true</skipassembly>
<!-- Tests usually require some setup that maven cannot do, so skip. -->
<jackson.version>2.6.0</jackson.version>
+ <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**,src/main/webapp/**/*</sonar.exclusions>
</properties>
<profiles>
<!-- disable doclint, a new feature in Java 8, when generating javadoc -->
diff --git a/POLICY-SDK-APP/pom.xml b/POLICY-SDK-APP/pom.xml
index c84fbb7ca..5adb5d169 100644
--- a/POLICY-SDK-APP/pom.xml
+++ b/POLICY-SDK-APP/pom.xml
@@ -55,6 +55,7 @@
<skipassembly>true</skipassembly>
<skiptests>false</skiptests>
<jackson.version>2.6.0</jackson.version>
+ <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**,src/main/webapp/app/policyApp/CSS/**/*,src/main/webapp/app/policyApp/libs/**/*</sonar.exclusions>
</properties>
<dependencies>
<dependency>