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:
@@ -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}"/>
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user