clean tests projects only before the tests.

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@393081 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
aheritier 2006-04-10 22:00:10 +00:00
parent a52e92693d
commit d3e74c071b

View File

@ -19,12 +19,9 @@
xmlns:assert="assert" xmlns:assert="assert"
xmlns:j="jelly:core"> xmlns:j="jelly:core">
<goal name="testPlugin" prereqs="test-java-compile"> <goal name="testPlugin" prereqs="test-java-compile"/>
<attainGoal name="clean"/>
<echo>clean done</echo>
</goal>
<goal name="test-java-compile"> <goal name="test-java-compile" prereqs="clean">
<attainGoal name="java:compile"/> <attainGoal name="java:compile"/>
<assert:assertFileExists file="${maven.build.dest}/org/apache/maven/Dummy.class"/> <assert:assertFileExists file="${maven.build.dest}/org/apache/maven/Dummy.class"/>
</goal> </goal>