Put RuleSets on Website.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@204 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
14
pmd/pmd.xml
14
pmd/pmd.xml
@ -47,4 +47,18 @@ will update documents on the Build Site.
|
|||||||
outputdirectory="src/net/sourceforge/pmd/ast/"
|
outputdirectory="src/net/sourceforge/pmd/ast/"
|
||||||
javacchome="${javacc.home}" />
|
javacchome="${javacc.home}" />
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
<!-- Documentation Chores -->
|
||||||
|
<target name="pre-docs" depends="rule-docs" />
|
||||||
|
|
||||||
|
<target name="rule-docs">
|
||||||
|
<mkdir dir="${maven.gen.docs}/rules" />
|
||||||
|
<dvsl basedir="rulesets"
|
||||||
|
destdir="${maven.gen.docs}/rules"
|
||||||
|
extension=".xml"
|
||||||
|
style="dvsl/rule-format.dvsl">
|
||||||
|
<include name="*.xml" />
|
||||||
|
</dvsl>
|
||||||
|
</target>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
@ -5,3 +5,6 @@
|
|||||||
|
|
||||||
maven.core.callback.pre-compile.buildFile=pmd.xml
|
maven.core.callback.pre-compile.buildFile=pmd.xml
|
||||||
maven.core.callback.pre-compile.buildTarget=pre-build
|
maven.core.callback.pre-compile.buildTarget=pre-build
|
||||||
|
|
||||||
|
maven.docs.callback.pre-docs-quick.buildFile=pmd.xml
|
||||||
|
maven.docs.callback.pre-docs-quick.buildTarget=pre-docs
|
||||||
|
Reference in New Issue
Block a user