diff --git a/pmd/pom.xml b/pmd/pom.xml index 3c60810fc4..a5ea17635a 100644 --- a/pmd/pom.xml +++ b/pmd/pom.xml @@ -250,6 +250,72 @@ 1.5 + + + org.apache.maven.plugins + maven-antrun-plugin + true + + + generate-ruleset-as-xdocs + pre-site + + + PMD specific tasks: generating xdocs + + + + + + + + run + + + + + move-index-and-delete-generated-xdocs + post-site + + + PMD specific tasks: cleaning generated xdocs + + + + + + + + + run + + + + + pmd-clean + clean + + + PMD specific tasks: cleaning generated xdocs + + + + + + + run + + + + + + + + @@ -299,8 +365,8 @@ org.apache.maven.plugins maven-javadoc-plugin --> + - org.apache.maven.plugins maven-pmd-plugin @@ -318,7 +384,7 @@ org.apache.maven.plugins maven-checkstyle-plugin - etc/checkstyle-config.xml + tool/config/checkstyle-config.xml diff --git a/pmd/tool/config/checkstyle-config.xml b/pmd/tool/config/checkstyle-config.xml new file mode 100644 index 0000000000..b7d585358a --- /dev/null +++ b/pmd/tool/config/checkstyle-config.xml @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +