Modify pom to exclude 3rd party javascript 47/13947/1
authorPamela Dragosh <pdragosh@research.att.com>
Wed, 20 Sep 2017 17:37:03 +0000 (13:37 -0400)
committerPamela Dragosh <pdragosh@research.att.com>
Wed, 20 Sep 2017 17:39:27 +0000 (13:39 -0400)
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>
ONAP-SDK-APP/pom.xml
POLICY-SDK-APP/pom.xml

index aae25fa..e6ef8ed 100644 (file)
@@ -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 -->
index c84fbb7..5adb5d1 100644 (file)
@@ -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>