You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Dan Fabulich <da...@fabulich.com> on 2008/08/14 08:00:51 UTC
mvn --reactor option
What does "--reactor" do on the mvn command line? The --help doc just
says "Execute goals for project found in the reactor" which doesn't make
much sense to me.
-Dan
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: mvn --reactor option
Posted by Stephen Connolly <st...@gmail.com>.
unfortunately it does not seem to work for me in 2.0.9
Sent from my iPod
On 14 Aug 2008, at 21:04, Dan Fabulich <da...@fabulich.com> wrote:
> Stephen Connolly wrote:
>
>> Frickin' cool
>
> I agree. It would be nice if the invoker supported it, too:
>
> DefaultInvocationRequest.java:87
> public InvocationRequest activateReactor( String[] includes,
> String[] excludes )
> {
> throw new UnsupportedOperationException( "Not implemented
> yet." );
> }
>
> I've filed this as MINVOKER-54.
>
> -Dan
>
> ---------------------------------------------------------------------
> 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: mvn --reactor option
Posted by Dan Fabulich <da...@fabulich.com>.
Stephen Connolly wrote:
> Frickin' cool
I agree. It would be nice if the invoker supported it, too:
DefaultInvocationRequest.java:87
public InvocationRequest activateReactor( String[] includes, String[] excludes )
{
throw new UnsupportedOperationException( "Not implemented yet." );
}
I've filed this as MINVOKER-54.
-Dan
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: mvn --reactor option
Posted by Stephen Connolly <st...@gmail.com>.
More than just cool..
This makes the version-maven-plugin even more awesome (once I get the xml
rewriting implemented correctly)...
So with the -r option, all I do is:
1. check out all the modules I want into one directory
2. in that directory do
mvn -r versions:update-parent version:sync-intrareactor-dependencies*
And now all the pom.xml files will use the latest parent version available
and if they depend on any version of a dependency thats in the reactor, they
will be using the version from the reactor!
Frickin' cool
* I have yet to write this goal, but it's on my todo list
On Thu, Aug 14, 2008 at 8:41 AM, Milos Kleint <mk...@gmail.com> wrote:
> Cool, thanks.
> It assumes a common directory root, but better than nothing..
>
> Milos
>
> On Thu, Aug 14, 2008 at 9:35 AM, Brett Porter <br...@gmail.com>
> wrote:
> > mvn -r
> -Dmaven.reactor.includes=maven-eclipse-plugin/pom.xml,maven-idea-plugin/pom.xml
> > clean install
> >
> > (the default value of includes is **/pom.xml)
> >
> > Cheers,
> > Brett
> >
> > 2008/8/14 Milos Kleint <Mi...@sun.com>:
> >> on a related note, is there a way to give maven a list of project
> >> directories/poms and let it build the stuff together?
> >>
> >> Milos
> >>
> >> Brett Porter wrote:
> >>>
> >>> It finds all the POMs in the subdirectories and runs a reactor based on
> >>> them.
> >>>
> >>> 2008/8/14 Dan Fabulich <da...@fabulich.com>:
> >>>
> >>>>
> >>>> What does "--reactor" do on the mvn command line? The --help doc just
> >>>> says
> >>>> "Execute goals for project found in the reactor" which doesn't make
> much
> >>>> sense to me.
> >>>>
> >>>> -Dan
> >>>>
> >>>> ---------------------------------------------------------------------
> >>>> 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
> >>
> >>
> >
> >
> >
> > --
> > Brett Porter
> > Blog: http://blogs.exist.com/bporter/
> >
> > ---------------------------------------------------------------------
> > 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: mvn --reactor option
Posted by Milos Kleint <mk...@gmail.com>.
Cool, thanks.
It assumes a common directory root, but better than nothing..
Milos
On Thu, Aug 14, 2008 at 9:35 AM, Brett Porter <br...@gmail.com> wrote:
> mvn -r -Dmaven.reactor.includes=maven-eclipse-plugin/pom.xml,maven-idea-plugin/pom.xml
> clean install
>
> (the default value of includes is **/pom.xml)
>
> Cheers,
> Brett
>
> 2008/8/14 Milos Kleint <Mi...@sun.com>:
>> on a related note, is there a way to give maven a list of project
>> directories/poms and let it build the stuff together?
>>
>> Milos
>>
>> Brett Porter wrote:
>>>
>>> It finds all the POMs in the subdirectories and runs a reactor based on
>>> them.
>>>
>>> 2008/8/14 Dan Fabulich <da...@fabulich.com>:
>>>
>>>>
>>>> What does "--reactor" do on the mvn command line? The --help doc just
>>>> says
>>>> "Execute goals for project found in the reactor" which doesn't make much
>>>> sense to me.
>>>>
>>>> -Dan
>>>>
>>>> ---------------------------------------------------------------------
>>>> 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
>>
>>
>
>
>
> --
> Brett Porter
> Blog: http://blogs.exist.com/bporter/
>
> ---------------------------------------------------------------------
> 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: mvn --reactor option
Posted by Brett Porter <br...@gmail.com>.
mvn -r -Dmaven.reactor.includes=maven-eclipse-plugin/pom.xml,maven-idea-plugin/pom.xml
clean install
(the default value of includes is **/pom.xml)
Cheers,
Brett
2008/8/14 Milos Kleint <Mi...@sun.com>:
> on a related note, is there a way to give maven a list of project
> directories/poms and let it build the stuff together?
>
> Milos
>
> Brett Porter wrote:
>>
>> It finds all the POMs in the subdirectories and runs a reactor based on
>> them.
>>
>> 2008/8/14 Dan Fabulich <da...@fabulich.com>:
>>
>>>
>>> What does "--reactor" do on the mvn command line? The --help doc just
>>> says
>>> "Execute goals for project found in the reactor" which doesn't make much
>>> sense to me.
>>>
>>> -Dan
>>>
>>> ---------------------------------------------------------------------
>>> 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
>
>
--
Brett Porter
Blog: http://blogs.exist.com/bporter/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: mvn --reactor option
Posted by Milos Kleint <Mi...@Sun.COM>.
on a related note, is there a way to give maven a list of project
directories/poms and let it build the stuff together?
Milos
Brett Porter wrote:
> It finds all the POMs in the subdirectories and runs a reactor based on them.
>
> 2008/8/14 Dan Fabulich <da...@fabulich.com>:
>
>> What does "--reactor" do on the mvn command line? The --help doc just says
>> "Execute goals for project found in the reactor" which doesn't make much
>> sense to me.
>>
>> -Dan
>>
>> ---------------------------------------------------------------------
>> 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: mvn --reactor option
Posted by Brett Porter <br...@gmail.com>.
It finds all the POMs in the subdirectories and runs a reactor based on them.
2008/8/14 Dan Fabulich <da...@fabulich.com>:
>
> What does "--reactor" do on the mvn command line? The --help doc just says
> "Execute goals for project found in the reactor" which doesn't make much
> sense to me.
>
> -Dan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
--
Brett Porter
Blog: http://blogs.exist.com/bporter/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org