From 6cd084b7cef38b675677c37b98fa0daeb76464dc Mon Sep 17 00:00:00 2001 From: Andreas Dangel Date: Fri, 23 Mar 2018 10:12:38 +0100 Subject: [PATCH] Use release build-tools 1.1.0: uses latest dogfood ruleset Closes #361 --- pom.xml | 102 +++++++++++++++++++++++++------------------------------- 1 file changed, 46 insertions(+), 56 deletions(-) diff --git a/pom.xml b/pom.xml index 5a0c6bf5ac..82a4df393e 100644 --- a/pom.xml +++ b/pom.xml @@ -274,9 +274,7 @@ Additionally it includes CPD, the copy-paste-detector. CPD finds duplicated code -Xmx512m -Dfile.encoding=${project.build.sourceEncoding} - ${basedir}/pmd-core - ${config.basedir}/src/main/resources/rulesets/internal/dogfood.xml - 1.1.0-SNAPSHOT + 1.1.0 @@ -421,6 +419,49 @@ Additionally it includes CPD, the copy-paste-detector. CPD finds duplicated code org.apache.maven.plugins maven-pmd-plugin ${pmd.plugin.version} + + + verify + + check + cpd + + + + + true + 100 + 1.${java.version} + + /net/sourceforge/pmd/pmd-dogfood-config.xml + + + target/generated-sources/javacc + target/generated-sources/antlr4 + + false + true + true + + + + + net.sourceforge.pmd + pmd-core + 6.1.0 + + + net.sourceforge.pmd + pmd-java + 6.1.0 + + + + net.sourceforge.pmd + pmd-build-tools-config + ${pmd.build-tools.version} + + org.codehaus.mojo @@ -514,48 +555,7 @@ Additionally it includes CPD, the copy-paste-detector. CPD finds duplicated code org.apache.maven.plugins maven-pmd-plugin - - - verify - - check - cpd - - - - - 100 - 1.${java.version} - - /net/sourceforge/pmd/pmd-dogfood-config.xml - - - target/generated-sources/javacc - target/generated-sources/antlr4 - - false - true - true - - - - - net.sourceforge.pmd - pmd-core - 6.1.0 - - - net.sourceforge.pmd - pmd-java - 6.1.0 - - - - net.sourceforge.pmd - pmd-build-tools-config - 1.1.0-SNAPSHOT - - + org.apache.maven.plugins @@ -657,17 +657,7 @@ Additionally it includes CPD, the copy-paste-detector. CPD finds duplicated code org.apache.maven.plugins maven-pmd-plugin ${pmd.plugin.version} - - true - 100 - 1.${java.version} - - ${pmd.dogfood.ruleset} - - - target/generated-sources/javacc - - +