Adds a "pmd:ruleset-docs" to the build. Still need to make it a "pre-site"
thing however. git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@778 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
20
pmd/maven.xml
Normal file
20
pmd/maven.xml
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
|
||||||
|
<project default="java:jar"
|
||||||
|
xmlns:j="jelly:core"
|
||||||
|
xmlns:m="maven"
|
||||||
|
xmlns:dvsl="dvsl"
|
||||||
|
xmlns:maven="jelly:org.apache.maven.jelly.tags.project.MavenTagLibrary">
|
||||||
|
|
||||||
|
<goal name="pmd:ruleset-docs" prereqs="init-dvsl-tag">
|
||||||
|
<mkdir dir="${maven.gen.docs}/rules" />
|
||||||
|
<dvsl:dvsl
|
||||||
|
extension=".xml"
|
||||||
|
includes="**/*.xml"
|
||||||
|
basedir="${rulesets.dir}"
|
||||||
|
style="${dvsl.dir}/rule-format.dvsl"
|
||||||
|
destdir="${maven.gen.docs}/rules">
|
||||||
|
</dvsl:dvsl>
|
||||||
|
</goal>
|
||||||
|
</project>
|
||||||
|
|
Reference in New Issue
Block a user