From e0c1d8c61904a4f6491964949b193eb604a206be Mon Sep 17 00:00:00 2001 From: vempo Date: Mon, 23 Oct 2017 17:03:24 +0300 Subject: 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 --- onboarding/pom.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 -- cgit 1.2.3-korg