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
13
maven.xml
13
maven.xml
|
@ -177,6 +177,19 @@
|
|||
<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"/>
|
||||
|
|
Loading…
Reference in New Issue