mirror of https://github.com/apache/activemq.git
Added maven goal to ignore test failures.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@386953 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d5b3b819ba
commit
774cdcf8b5
15
maven.xml
15
maven.xml
|
@ -176,12 +176,25 @@
|
|||
<ant:echo>+----------------------------------------</ant:echo>
|
||||
<delete dir="${maven.repo.local}/activemq"/>
|
||||
</goal>
|
||||
|
||||
<goal name="test:ignore-failures" prereqs="init">
|
||||
<maven:reactor basedir="." goals="test" includes="${maven.multiproject.includes}" ignoreFailures="true"/>
|
||||
|
||||
<j:if test="${!failedProjects.isEmpty()}">
|
||||
<ant:echo>There are test failures in the following modules:</ant:echo>
|
||||
<j:forEach var="failedProj" items="${failedProjects}">
|
||||
<ant:echo> ${failedProj} </ant:echo>
|
||||
</j:forEach>
|
||||
<fail message="There are test failures."/>
|
||||
</j:if>
|
||||
|
||||
</goal>
|
||||
|
||||
<goal name="test" prereqs="init">
|
||||
<j:set var="goal" value="test"/>
|
||||
<attainGoal name="multiproject:goal"/>
|
||||
</goal>
|
||||
|
||||
|
||||
<goal name="eclipse" prereqs="init">
|
||||
<j:set var="goal" value="eclipse"/>
|
||||
<attainGoal name="multiproject:goal"/>
|
||||
|
|
Loading…
Reference in New Issue