moved setting "maven.test.failure.ignore" to test:test preGoal

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@374988 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jonas B. Lim 2006-02-05 09:26:58 +00:00
parent 948801cbd5
commit 667e7a39c5
1 changed files with 3 additions and 5 deletions

View File

@ -144,6 +144,9 @@
<preGoal name="test:test">
<j:if test="${generateBuildReports == 'true'}">
<attainGoal name="build-failure-report:set-test-fail"/>
<!-- Build failure reports: ignore failures so test failures can be
checked (postGoal not run if tests fail) -->
<j:set var="maven.test.failure.ignore" value="true"/>
</j:if>
</preGoal>
@ -183,11 +186,6 @@
</j:if>
</postGoal>
<!-- Build failure reports: ignore failures so test failures can be checked
(postGoal not run if tests fail) -->
<j:if test="${generateBuildReports == 'true'}">
<j:set var="maven.test.failure.ignore" value="true"/>
</j:if>
<!-- Build failure reports: write test results. Set build to success if no
test failures -->
<postGoal name="test:test">