added PMD goal

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1230 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
Tom Copeland
2002-11-07 19:37:54 +00:00
parent 7d5cd7e91a
commit 4d2caf99b9

View File

@ -22,6 +22,10 @@
<attainGoal name="site:generate" />
</goal>
<preGoal name="site:generate">
<attainGoal name="pmd"/>
</preGoal>
<goal name="pmd:ruleset-docs" prereqs="init-dvsl-tag">
<mkdir dir="${maven.gen.docs}/rules" />
<dvsl:dvsl
@ -34,19 +38,5 @@
</goal>
<goal name="pmd:jdk" prereqs="init-pmd-tag">
if="jdk14.src">
<mkdir dir="${maven.pmd.reportsDirectory}" />
<pmd reportFile="${maven.pmd.reportsDirectory}/jdk-1.4.xml"
verbose="false"
rulesetfiles="rulesets/basic.xml,rulesets/unusedcode.xml,rulesets/design.xml"
format="xml"
failonerror="no">
<fileset dir="${jdk14.src}">
<include name="**/*.java" />
</fileset>
</pmd>
</goal>
</project>