Files
maven-plugins/ant/src/test/plugin-test/maven.xml
T
dion ef19139ba0 Add test project for java plugin.
Only tests java:compile at the moment.

Change test project goal to "testPlugin" as it was conflicting with the test plugin
causing reactor issues


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114027 13f79535-47bb-0310-9956-ffa450edef68
2003-09-17 09:06:24 +00:00

17 lines
489 B
XML

<project xmlns:util="jelly:util"
xmlns:j="jelly:core">
<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}"/>
</goal>
</project>