From f5db63b374f8499dd54920e9f823ab5ea2717a08 Mon Sep 17 00:00:00 2001 From: Andreas Dangel Date: Sat, 15 Nov 2014 19:53:34 +0100 Subject: [PATCH] Exclude generated sources from checkstyle --- pmd-core/etc/checkstyle-suppressions.xml | 2 ++ pom.xml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/pmd-core/etc/checkstyle-suppressions.xml b/pmd-core/etc/checkstyle-suppressions.xml index d8bebf03ca..53790753e5 100644 --- a/pmd-core/etc/checkstyle-suppressions.xml +++ b/pmd-core/etc/checkstyle-suppressions.xml @@ -3,6 +3,8 @@ "-//Puppy Crawl//DTD Suppressions 1.0//EN" "http://www.puppycrawl.com/dtds/suppressions_1_0.dtd"> + + diff --git a/pom.xml b/pom.xml index 5622965038..81ff80fb03 100644 --- a/pom.xml +++ b/pom.xml @@ -270,7 +270,7 @@ UTF-8 http://pmd.sourceforge.net/snapshot/${project.artifactId} - ${basedir}/pmd + ${basedir}/pmd-core ${config.basedir}/src/main/resources/rulesets/internal/dogfood.xml ${config.basedir}/etc/checkstyle-config.xml ${config.basedir}/etc/checkstyle-suppressions.xml