You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by df...@apache.org on 2006/03/24 10:38:41 UTC
svn commit: r388475 - /incubator/activemq/trunk/maven.xml
Author: dflores
Date: Fri Mar 24 01:38:40 2006
New Revision: 388475
URL: http://svn.apache.org/viewcvs?rev=388475&view=rev
Log:
modified maven.xml to ignore test failures in continuum
Modified:
incubator/activemq/trunk/maven.xml
Modified: incubator/activemq/trunk/maven.xml
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/maven.xml?rev=388475&r1=388474&r2=388475&view=diff
==============================================================================
--- incubator/activemq/trunk/maven.xml (original)
+++ incubator/activemq/trunk/maven.xml Fri Mar 24 01:38:40 2006
@@ -110,7 +110,8 @@
<goal name="build" prereqs="default"/>
<goal name="default" prereqs="init">
<j:set var="goal" value="default"/>
- <attainGoal name="multiproject:goal"/>
+ <!--<attainGoal name="multiproject:goal"/>-->
+ <attainGoal name="test"/>
</goal>
<goal name="assembly:goal" prereqs="init">
@@ -190,11 +191,30 @@
</j:if>
</goal>
-
+<!--
<goal name="test" prereqs="init">
<j:set var="goal" value="test"/>
<attainGoal name="multiproject:goal"/>
</goal>
+-->
+
+ <goal name="test:no-ignore-failures" prereqs="init">
+ <j:set var="goal" value="test"/>
+ <attainGoal name="multiproject:goal"/>
+ </goal>
+
+ <goal name="test" prereqs="">
+ <j:if test="${ignoreTest == 'true'}">
+ <!--<ant:echo>IGNORE TEST</ant:echo>-->
+ <attainGoal name="test:ignore-failures"/>
+ </j:if>
+ <j:if test="${ignoreTest == 'false' || ignoreTest == null}">
+ <!--<ant:echo>DO NOT IGNORE TEST</ant:echo>-->
+ <attainGoal name="test:no-ignore-failures"/>
+ </j:if>
+ </goal>
+
+
<goal name="eclipse" prereqs="init">
<j:set var="goal" value="eclipse"/>
@@ -278,3 +298,4 @@
</project>
+
Re: svn commit: r388475 - /incubator/activemq/trunk/maven.xml
Posted by Hiram Chirino <hi...@hiramchirino.com>.
Hi,
The change to mave.xml is a bit odd for me. If you want the default
target for a specific module, then you change that module's maven.xml.
But if you do want to only do the tests for all modules, then perhaps
you should just be using the test goal.
I'm going to back that part out since it's breaking my normal build test cycle.
Regards,
Hiram
On 3/24/06, dflores@apache.org <df...@apache.org> wrote:
> Author: dflores
> Date: Fri Mar 24 01:38:40 2006
> New Revision: 388475
>
> URL: http://svn.apache.org/viewcvs?rev=388475&view=rev
> Log:
> modified maven.xml to ignore test failures in continuum
>
> Modified:
> incubator/activemq/trunk/maven.xml
>
> Modified: incubator/activemq/trunk/maven.xml
> URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/maven.xml?rev=388475&r1=388474&r2=388475&view=diff
> ==============================================================================
> --- incubator/activemq/trunk/maven.xml (original)
> +++ incubator/activemq/trunk/maven.xml Fri Mar 24 01:38:40 2006
> @@ -110,7 +110,8 @@
> <goal name="build" prereqs="default"/>
> <goal name="default" prereqs="init">
> <j:set var="goal" value="default"/>
> - <attainGoal name="multiproject:goal"/>
> + <!--<attainGoal name="multiproject:goal"/>-->
> + <attainGoal name="test"/>
> </goal>
>
> <goal name="assembly:goal" prereqs="init">
> @@ -190,11 +191,30 @@
> </j:if>
>
> </goal>
> -
> +<!--
> <goal name="test" prereqs="init">
> <j:set var="goal" value="test"/>
> <attainGoal name="multiproject:goal"/>
> </goal>
> +-->
> +
> + <goal name="test:no-ignore-failures" prereqs="init">
> + <j:set var="goal" value="test"/>
> + <attainGoal name="multiproject:goal"/>
> + </goal>
> +
> + <goal name="test" prereqs="">
> + <j:if test="${ignoreTest == 'true'}">
> + <!--<ant:echo>IGNORE TEST</ant:echo>-->
> + <attainGoal name="test:ignore-failures"/>
> + </j:if>
> + <j:if test="${ignoreTest == 'false' || ignoreTest == null}">
> + <!--<ant:echo>DO NOT IGNORE TEST</ant:echo>-->
> + <attainGoal name="test:no-ignore-failures"/>
> + </j:if>
> + </goal>
> +
> +
>
> <goal name="eclipse" prereqs="init">
> <j:set var="goal" value="eclipse"/>
> @@ -278,3 +298,4 @@
>
>
> </project>
> +
>
>
>
--
Regards,
Hiram