Don't generate ant build file

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115637 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
carlos 2004-07-03 18:08:21 +00:00
parent e051c15d43
commit b380cf60bd
2 changed files with 4 additions and 13 deletions

16
dist/plugin.jelly vendored
View File

@ -124,19 +124,9 @@
<ant:available property="maven.dist.build.xml.avail" <ant:available property="maven.dist.build.xml.avail"
file="${basedir}/build.xml"/> file="${basedir}/build.xml"/>
<j:choose> <j:if test="${maven.dist.build.xml.avail}">
<j:when test="${maven.dist.build.xml.avail}"> <ant:copy todir="${maven.dist.src.assembly.dir}" file="${basedir}/build.xml"/>
<ant:copy todir="${maven.dist.src.assembly.dir}" file="${basedir}/build.xml"/> </j:if>
</j:when>
<j:otherwise>
<j:if test="${sourcesPresent == 'true'}">
<attainGoal name="ant:generate-build"/>
<ant:move
file="${basedir}/build.xml"
tofile="${maven.dist.src.assembly.dir}/build.xml"/>
</j:if>
</j:otherwise>
</j:choose>
<!-- Copy Source --> <!-- Copy Source -->
<util:available file="${maven.src.dir}"> <util:available file="${maven.src.dir}">

View File

@ -25,6 +25,7 @@
</properties> </properties>
<body> <body>
<release version="1.7-SNAPSHOT" date="in CVS"> <release version="1.7-SNAPSHOT" date="in CVS">
<action dev="carlos" type="update">Don't generate ant build file, call maven-ant-plugin before or set a preGoal</action>
<action dev="carlos" type="update">Add NOTICE file to distribution</action> <action dev="carlos" type="update">Add NOTICE file to distribution</action>
</release> </release>
<release version="1.6" date="2004-06-25"> <release version="1.6" date="2004-06-25">