From: vempo Date: Mon, 23 Oct 2017 14:03:24 +0000 (+0300) Subject: Run static analysis on Onboarding production code X-Git-Tag: v1.2.0~798^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=e0c1d8c61904a4f6491964949b193eb604a206be;p=sdc.git Run static analysis on Onboarding production code Enable static analysis to run by default, and fail the build if violations are found in the Onboarding code. For now check only the production code and only for high-severity issues (e.g. not closing files). Change-Id: I2567eb8c704310109b01cb8b6e2a345522870e2b Issue-ID: SDC-497 Signed-off-by: vempo --- diff --git a/onboarding/pom.xml b/onboarding/pom.xml index 0582c764af..50f4649c11 100644 --- a/onboarding/pom.xml +++ b/onboarding/pom.xml @@ -2,7 +2,6 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - org.openecomp.sdc sdc-onboarding pom @@ -108,7 +107,7 @@ maven-jxr-plugin 2.5 - ${skipSA} + ${pmd.skip} @@ -126,9 +125,10 @@ maven-pmd-plugin 3.8 - ${skipSA} + ${pmd.skip} false - ${maven.compiler.target} + ${pmd.include.tests} + true build-pmd-ruleset.xml