You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Javier Ramos <ra...@parsec.es> on 2003/12/09 13:27:27 UTC

maven:reactor and test:match

Hello,

    I have setup a maven project that contains several subprojects. I would like to be able to use maven:reactor element inside a goal in the master project to trigger execution of a subset of the unit tests in every subproject. If I do it manually inside each subproject, the command syntax looks like:

    maven -Dtestmatch=*DB* test:match

    but in the maven:reactor element I don´t know if it is possible to include the variable 'testmatch'. I browsed the documentation with no success.

    Can anyone provide some help?

    Thanks in advance,

        Javier Ramos

Re: maven:reactor and test:match

Posted by Javier Ramos <ra...@parsec.es>.
Thanks, this works!!


----- Original Message ----- 
From: "Jefferson K. French" <je...@frenches.org>
To: "Maven Users List" <us...@maven.apache.org>
Sent: Tuesday, December 09, 2003 2:58 PM
Subject: Re: maven:reactor and test:match


> Have you tried adding this:
>
>   <j:set var="testmatch" value="*DB*"/>
>
> before invoking <maven:reactor>?
>
> On Tue, 9 Dec 2003, at 13:27:27 [GMT +0100] Javier Ramos wrote:
>
> > Hello,
>
> >     I have setup a maven project that contains several subprojects. I
would like to be able to use maven:reactor element inside a goal in the
master project to trigger execution of a subset of the
> > unit tests in every subproject. If I do it manually inside each
subproject, the command syntax looks like:
>
> >     maven -Dtestmatch=*DB* test:match
>
> >     but in the maven:reactor element I don´t know if it is possible to
include the variable 'testmatch'. I browsed the documentation with no
success.
>
> >     Can anyone provide some help?
>
> >     Thanks in advance,
>
> >         Javier Ramos
>
> -- 
> mailto:jeff@frenches.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: maven:reactor and test:match

Posted by "Jefferson K. French" <je...@frenches.org>.
Have you tried adding this:

  <j:set var="testmatch" value="*DB*"/>

before invoking <maven:reactor>?

On Tue, 9 Dec 2003, at 13:27:27 [GMT +0100] Javier Ramos wrote:

> Hello,

>     I have setup a maven project that contains several subprojects. I would like to be able to use maven:reactor element inside a goal in the master project to trigger execution of a subset of the
> unit tests in every subproject. If I do it manually inside each subproject, the command syntax looks like:

>     maven -Dtestmatch=*DB* test:match

>     but in the maven:reactor element I don´t know if it is possible to include the variable 'testmatch'. I browsed the documentation with no success.

>     Can anyone provide some help?

>     Thanks in advance,

>         Javier Ramos

-- 
mailto:jeff@frenches.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org