Thanks for your reply Benson but what do you mean by saying "using the maven-release-plugin"? It is too hard changing the module list, right?
What about activating a profile directly (without properties) from within the execution of my plugin then? Regards, Maik -------- Original-Nachricht -------- > Datum: Tue, 13 Sep 2011 15:46:16 -0400 > Von: Benson Margulies <[email protected]> > An: Maven Users List <[email protected]> > Betreff: Re: Adding modules from within a plugin? > On Tue, Sep 13, 2011 at 3:37 PM, Wayne Fay <[email protected]> wrote: > >> Because activating a profile by properties is not working properly I > would > >> like to either add the modules to the current build from within my > plugin > >> or activate a profile defining these modules. > > > > Can you provide more details about what exactly is not working properly? > > There are documented limitations: I think that the relevant one is > that you can't activate a profile based on a property value set > *inside* a POM, only from a -D from command level. > > Maik, if you have any idea of ever using the maven-release-plugin, I > strongly encourage you to find some solution other than changing the > module list. You can use 'skip' configuration parameters to neutralize > what happens in unwanted child modules instead. > > > > > > > Wayne > > > > --------------------------------------------------------------------- > > 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] > -- Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
