From e9abdf7a9218a117a886f499d88becd0e9c8b876 Mon Sep 17 00:00:00 2001 From: Andreas Dangel Date: Sun, 11 Feb 2018 10:57:36 +0100 Subject: [PATCH] Update pmd configuration to use dogfood and fail build on violations Refs #361 --- pom.xml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index df9f3674a3..2af52c7029 100644 --- a/pom.xml +++ b/pom.xml @@ -515,7 +515,7 @@ Additionally it includes CPD, the copy-paste-detector. CPD finds duplicated code verify - pmd + check cpd @@ -524,12 +524,14 @@ Additionally it includes CPD, the copy-paste-detector. CPD finds duplicated code 100 1.${java.version} - ${pmd.dogfood.ruleset} + /net/sourceforge/pmd/pmd-dogfood-config.xml target/generated-sources/javacc false + true + true @@ -543,6 +545,12 @@ Additionally it includes CPD, the copy-paste-detector. CPD finds duplicated code pmd-java 6.0.1 + + + net.sourceforge.pmd + pmd-build-tools-config + 1.1.0-SNAPSHOT +