MAVEN-244: Register the report and fix it's output location to be under the target/docs area

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112810 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
bwalding 2003-02-02 13:45:31 +00:00
parent 4877b4c2c0
commit 37f9b19dba

View File

@ -3,6 +3,7 @@
<project
xmlns:j="jelly:core"
xmlns:maven="jelly:maven"
xmlns:doc="doc"
xmlns:m="maven">
<!-- ==================================================================
@ -16,6 +17,17 @@
team
================================================================== -->
<goal name="maven-statcvs-plugin:register">
<doc:registerReport
name="StatCVS Report"
link="statcvs/index"
description="Show some statistics about the CVS repository"/>
</goal>
<goal name="maven-statcvs-plugin:report">
<attainGoal name="statcvs"/>
</goal>
<goal name="statcvs" prereqs="statcvs:generate"
description="Generate CVS statistics for the current CVS project"/>
@ -31,11 +43,13 @@
<cvs command="-q log" output="${statcvs.logfile}"/>
<property name="maven.docs.dest" value="${pom.getPluginContext('maven-xdoc-plugin').getVariable('maven.docs.dest')}"/>
<java jar="${plugin.getDependencyPath('statcvs')}" fork="true">
<arg value="${pom.name}"/>
<arg value="${statcvs.logfile}"/>
<arg value="${basedir}"/>
<arg value="${maven.build.dir}/statcvs"/>
<arg value="${maven.docs.dest}/statcvs"/>
<classpath>
<pathelement location="${plugin.getDependencyPath('statcvs')}"/>
<pathelement location="${plugin.getDependencyPath('jfreechart')}"/>