forked from phoedos/pmd
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:
@ -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>
|
||||
|
||||
|
Reference in New Issue
Block a user