Apply MPANT-11.

The plugin tests are now clearer


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114946 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
dion committed 2004-03-28 23:02:04 +00:00
1 parent 72426acead
commit ac42900813
3 files changed
+10 -8

No files matched your search

+1 -1
View File
@@ -23,7 +23,7 @@
<pomVersion>3</pomVersion>
<id>maven-ant-plugin</id>
<name>Maven Ant Plug-in</name>
<currentVersion>1.6</currentVersion>
<currentVersion>1.7-SNAPSHOT</currentVersion>
<description>Generates ant build files from a maven project, so that plain ant users can build your project</description>
<shortDescription>Generate Ant build file</shortDescription>
<url>http://maven.apache.org/reference/plugins/ant/</url>
+6 -7
View File
@@ -16,19 +16,18 @@
*/
-->
<project xmlns:util="jelly:util"
xmlns:j="jelly:core">
xmlns:j="jelly:core"
xmlns:assert="assert">
<goal name="testPlugin" prereqs="test-ant">
<attainGoal name="clean"/>
</goal>
<goal name="test-ant">
<j:set var="expectedFile" value="${basedir}/build.xml"/>
<attainGoal name="ant"/>
<util:file var="buildXml" name="${expectedFile}" />
<j:if test="${!(buildXml.exists())}">
<fail>build.xml not generated</fail>
</j:if>
<delete file="${expectedFile}"/>
<assert:assertFileExists file="${basedir}/build.xml"/>
<delete file="${basedir}/build.xml"/>
</goal>
</project>
+3
View File
@@ -24,6 +24,9 @@
<author email="dion@multitask.com.au">dIon Gillard</author>
</properties>
<body>
<release version="1.7" date="in CVS">
</release>
<release version="1.6" date="2004-03-07">
<action dev="evenisse" type="fix" issue="MPANT-8">Use relative path for javadoc.</action>
<action dev="dion" type="fix">Check unit test source dir exists before making relative path</action>