clean tests projects only before the tests.

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@392719 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
aheritier 2006-04-09 13:20:41 +00:00
parent 2de43a25f9
commit 13d3e535ee

View File

@ -16,11 +16,8 @@
*/ */
--> -->
<project xmlns:util="jelly:util" xmlns:j="jelly:core" xmlns:ant="jelly:ant" xmlns:maven="jelly:maven" xmlns:u="jelly:util" xmlns:assert="assert" xmlns:x="jelly:xml"> <project xmlns:util="jelly:util" xmlns:j="jelly:core" xmlns:ant="jelly:ant" xmlns:maven="jelly:maven" xmlns:u="jelly:util" xmlns:assert="assert" xmlns:x="jelly:xml">
<goal name="testPlugin"> <goal name="testPlugin" prereqs="test-ant"/>
<attainGoal name="clean"/> <goal name="test-ant" prereqs="clean">
<attainGoal name="test-ant"/>
</goal>
<goal name="test-ant">
<delete file="${basedir}/build.xml" failonerror="false"/> <delete file="${basedir}/build.xml" failonerror="false"/>
<attainGoal name="ant"/> <attainGoal name="ant"/>
<assert:assertFileExists file="${basedir}/build.xml"/> <assert:assertFileExists file="${basedir}/build.xml"/>