Hi Nicolas,

Cool. Could you propose it to the Cactus mailing list (this is where the
Maven plugin for Cactus is developed)? Could you create a JIRA issue for
it (http://issues.apache.org/jira) and attach your proposal as a patch?

Thanks
-Vincent

> -----Original Message-----
> From: Nicolas De Loof [mailto:[EMAIL PROTECTED]
> Sent: 21 April 2004 17:08
> To: Maven Developers List
> Subject: proposal : multiproject:cactus
> 
> Hi guys,
> 
> Here's a proposal for a new goal on multiproject plugin. It allows to
run
> cactus tests on all sub-projects of "war"
> type, the same way junit tests can be run.
> 
> I use it from cruisecontrol scripts to update, compile and test my app
> (having 3 web modules and 4 jars).
> 
> Nico.
> 
> 
> 
>
<!--====================================================================
-
> ->
>  <!-- Ex�cute les test Cactus sur tous les sous-projects de type "war"
-
> ->
>
<!--====================================================================
-
> ->
>  <goal name="multiproject:cactus">
>   <maven:reactor basedir="${maven.multiproject.basedir}"
>    includes="${maven.multiproject.includes}"
>    excludes="${maven.multiproject.excludes}"
>    postProcessing="true"
>    ignoreFailures="${maven.multiproject.ignoreFailures}" />
> 
>   <j:forEach var="reactorProject" items="${reactorProjects}">
>    <j:set
>     var="type"
> 
>
value="${reactorProject.getContext().getVariable('maven.multiproject.typ
e'
> )}"/>
>    <j:if test="${type == 'war'}">
>     <ant:echo>----------------------------------------------------
> </ant:echo>
>     <ant:echo>Running cactus test for
> ${reactorProject.artifactId}</ant:echo>
>     <ant:echo>----------------------------------------------------
> </ant:echo>
>     <maven:maven
>
descriptor="${basedir}/../${reactorProject.artifactId}/project.xml"
>      goals="cactus"
>      ignoreFailures="${maven.multiproject.ignoreFailures}" />
>    </j:if>
>   </j:forEach>
>  </goal>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to