optimize tests

Fix issue when launching tests from the reactor in maven-plugins

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@280563 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
aheritier 2005-09-13 14:29:11 +00:00
parent 5dbbf1924d
commit 1ba9487c50

View File

@ -16,12 +16,11 @@
*/
-->
<project xmlns:util="jelly:util" xmlns:maven="jelly:maven" xmlns:j="jelly:core" xmlns:assert="assert" xmlns:ant="jelly:ant">
<goal name="testPlugin" prereqs="test-pdf">
</goal>
<goal name="test-pdf">
<attainGoal name="clean"/>
<attainGoal name="multiproject:clean"/>
<goal name="testPlugin">
<attainGoal name="clean"/>
<!-- Multiproject : site -->
<j:set var="goal" value="clean,testPlugin"/>
<j:set var="maven.multiproject.includes" value="test*/project.xml"/>
<attainGoal name="multiproject:site"/>
<attainGoal name="pdf"/>
<assert:assertFileExists file="${maven.docs.dest}/${pom.artifactId}.pdf"/>