From 1f6c125267c4882bfb509c24fd36a7fc26f4f897 Mon Sep 17 00:00:00 2001 From: Luc Maisonobe Date: Tue, 3 Nov 2015 22:09:06 +0100 Subject: [PATCH] Set up a customized configuration for PMD. --- pmd-ruleset.xml | 73 +++++++++++++++++++++++++++++++++++++++++++++++++ pom.xml | 8 ++++++ 2 files changed, 81 insertions(+) create mode 100644 pmd-ruleset.xml diff --git a/pmd-ruleset.xml b/pmd-ruleset.xml new file mode 100644 index 000000000..12e613778 --- /dev/null +++ b/pmd-ruleset.xml @@ -0,0 +1,73 @@ + + + + + This ruleset checks the code for discouraged programming constructs. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/pom.xml b/pom.xml index 4da8e9cbc..65ea6c399 100644 --- a/pom.xml +++ b/pom.xml @@ -471,6 +471,10 @@ ${math.pmd.version} ${maven.compiler.target} + false + + ${basedir}/pmd-ruleset.xml + @@ -671,6 +675,10 @@ ${math.pmd.version} ${maven.compiler.target} + false + + ${basedir}/pmd-ruleset.xml +