clean tests projects only before the tests.

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@393100 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
aheritier 2006-04-10 22:15:47 +00:00
parent 6a63efbe1f
commit 1227ff6df4
3 changed files with 6 additions and 9 deletions

View File

@ -16,10 +16,9 @@
*/
-->
<project xmlns:util="jelly:util" xmlns:maven="jelly:maven" xmlns:j="jelly:core" xmlns:assert="assert" xmlns:ant="jelly:ant">
<goal name="testPlugin">
<attainGoal name="clean"/>
<goal name="testPlugin" prereqs="clean">
<!-- Multiproject : site -->
<j:set var="goal" value="clean,testPlugin"/>
<j:set var="goal" value="testPlugin"/>
<j:set var="maven.multiproject.includes" value="test*/project.xml"/>
<attainGoal name="multiproject:site"/>
<attainGoal name="pdf"/>

View File

@ -16,9 +16,8 @@
*/
-->
<project xmlns:util="jelly:util" xmlns:assert="assert" xmlns:j="jelly:core">
<goal name="testPlugin" prereqs="clean,test-pdf">
</goal>
<goal name="test-pdf">
<goal name="testPlugin" prereqs="test-pdf"/>
<goal name="test-pdf" prereqs="clean">
<attainGoal name="site"/>
<attainGoal name="pdf"/>
<assert:assertFileExists file="${maven.docs.dest}/${pom.artifactId}.pdf"/>

View File

@ -16,9 +16,8 @@
*/
-->
<project xmlns:util="jelly:util" xmlns:assert="assert" xmlns:j="jelly:core">
<goal name="testPlugin" prereqs="clean,test-pdf">
</goal>
<goal name="test-pdf">
<goal name="testPlugin" prereqs="test-pdf"/>
<goal name="test-pdf" prereqs="clean">
<attainGoal name="site"/>
<attainGoal name="pdf"/>
<assert:assertFileExists file="${maven.docs.dest}/${pom.artifactId}.pdf"/>