pmd/pmd/jsl_maven.xml
Tom Copeland 85b25d012b Syncing up
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1938 51baf565-9d33-0410-a72c-fc3788e3496d
2003-05-21 13:38:06 +00:00

46 lines
1.1 KiB
XML

<?xml version="1.0"?>
<project default="java:jar"
xmlns:j="jelly:core"
xmlns:m="maven"
xmlns:doc="doc"
xmlns:maven="jelly:org.apache.maven.jelly.tags.project.MavenTagLibrary">
<goal name="init-pmd-tag">
<taskdef
name="pmd"
classname="net.sourceforge.pmd.ant.PMDTask">
<classpath>
<pathelement location="target/classes" />
<pathelement location="." />
</classpath>
</taskdef>
</goal>
<goal name="pmd-site" prereqs="pmd:ruleset-docs">
<attainGoal name="site:generate" />
</goal>
<preGoal name="site:generate">
<attainGoal name="pmd:ruleset-docs"/>
</preGoal>
<!--<goal name="pmd:ruleset-docs" prereqs="init-dvsl-tag">-->
<goal name="pmd:ruleset-docs">
<echo message="hi"/>
<doc:jsl
input="rulesets/basic.xml"
output="rules/basic.xml"
stylesheet="etc/dvsl/rule-format.jsl"
omitXmlDeclaration="true"
outputMode="xml"
prettyPrint="true"
/>
<echo message="bye"/>
</goal>
</project>