You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Francis ANDRE <fr...@orange.fr> on 2012/12/26 14:59:59 UTC
maven reactor customization
Hi Maven user's list
Under maven 3.0 building a multi module project, I need to customize the reactor building the multimodule as the last project instead of the first project as now.
any idea how could one customize the maven reactor for doing so?
TIA
FA
Re: maven reactor customization
Posted by Benson Margulies <bi...@gmail.com>.
You cannot change Maven's behavior for aggregate projects. If, for
example, want to make a package at the end, add one more module that
makes the package. The order of the build in terms of executions in
the aggregate project versus the build of the modules is not
customizable.
In a pinch the maven-invoker-plugin might be helpful.
On Thu, Dec 27, 2012 at 3:44 AM, Karl Heinz Marbaise <kh...@gmx.de> wrote:
> Hi Francis,
>
>>
>>
>> Under maven 3.0 building a multi module project, I need to customize the
>> reactor building the multimodule as the last project instead of the first
>> project as now.
>
> The first question which comes into my mind is: Why do you need such
> customization?
> The order in the reactor is defined by the definition of dependencies
> between the modules so it might be that i don't understand your question?
>
> May be you can elaborate a little bit more best would be having an example
> with folder layout etc. and what exactly is your problem?
>
> Kind regards
> Karl-Heinz Marbaise
> --
> SoftwareEntwicklung Beratung Schulung Tel.: +49 (0) 2405 / 415 893
> Dipl.Ing.(FH) Karl-Heinz Marbaise ICQ#: 135949029
> Hauptstrasse 177 USt.IdNr: DE191347579
> 52146 Würselen http://www.soebes.de
>
> ---------------------------------------------------------------------
> 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 customization
Posted by Karl Heinz Marbaise <kh...@gmx.de>.
Hi Francis,
>
> Under maven 3.0 building a multi module project, I need to customize the reactor building the multimodule as the last project instead of the first project as now.
The first question which comes into my mind is: Why do you need such
customization?
The order in the reactor is defined by the definition of dependencies
between the modules so it might be that i don't understand your question?
May be you can elaborate a little bit more best would be having an
example with folder layout etc. and what exactly is your problem?
Kind regards
Karl-Heinz Marbaise
--
SoftwareEntwicklung Beratung Schulung Tel.: +49 (0) 2405 / 415 893
Dipl.Ing.(FH) Karl-Heinz Marbaise ICQ#: 135949029
Hauptstrasse 177 USt.IdNr: DE191347579
52146 Würselen http://www.soebes.de
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org