Fixed Maven-561. Creates maven.build.dir and maven.docs.dest directory if doesn't exist. Thanks to Alwyn Schoeman

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113645 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
evenisse
2003-07-11 12:38:17 +00:00
parent 3f2d84133b
commit 54997c7038
2 changed files with 7 additions and 1 deletions

View File

@@ -3,6 +3,7 @@
<project
xmlns:j="jelly:core"
xmlns:maven="jelly:maven"
xmlns:ant="jelly:ant"
xmlns:doc="doc"
xmlns:m="maven">
@@ -50,11 +51,13 @@
<j:choose>
<j:when test="${jdk14 == 'true'}">
<ant:mkdir dir="${maven.build.dir}"/>
<property name="statcvs.logfile" value="${maven.build.dir}/statcvs.log"/>
<cvs command="-q log" output="${statcvs.logfile}"/>
<property name="maven.docs.dest" value="${pom.getPluginContext('maven-xdoc-plugin').getVariable('maven.docs.dest')}"/>
<property name="maven.docs.dest" value="${pom.getPluginContext('maven-xdoc-plugin').getVariable('maven.docs.dest')}"/>
<ant:mkdir dir="${maven.docs.dest}"/>
<java jar="${plugin.getDependencyPath('statcvs')}" fork="true">
<arg value="${pom.name}"/>

View File

@@ -7,6 +7,9 @@
<body>
<release version="1.2" date="in CVS">
<action dev="evenisse" type="fix" due-to="Alwyn Schoeman">
Fixed MAVEN-561. Creates maven.build.dir and maven.docs.dest directory if doesn't exist.
</action>
<action dev="evenisse" type="fix">
Fixed MAVEN-493. I register reports only if source, test,... exists.
So, corresponding entrys in menu will appear only if reports are registered.