On Wed, Sep 14, 2011 at 9:20 AM, M. Richey <[email protected]> wrote: > > No worries, we do not think about using the maven-release-plugin... :) > > Using the skip configuration does not work either. First of all not all > plugins do support skip configuration.
File some JIRAs and perhaps in a few weeks this will be solved? The second problem is that setting the appropriate property in my plugin does not skip the execution. I've done *this* about 100 times, so if it's not working for you please post some details. > > So at the moment I have no chance to handle my problem? :( Make Friends with -P and use shell scripts to arbitrate? Try the maven-invoker-plugin to organize the top-level execution? > > Regards, > > Maik > > > -------- Original-Nachricht -------- >> Datum: Tue, 13 Sep 2011 17:21:37 -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 4:12 PM, M. Richey <[email protected]> wrote: >> > >> > 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? >> >> >> In a multi-module project, when you run the release plugin, you need >> to have *all* of your modules working. Otherwise, the pom versions >> won't get updated properly. So having modules appear and disappear in >> profiles breaks that. You can get around this by making sure that all >> of your profiles are activated whenever you use the release plugin, >> but I find that fragile. >> >> > >> > What about activating a profile directly (without properties) from >> within the execution of my plugin then? >> >> I am nearly certain that no plugin can change the reactor content. No >> calls to plugins happen before the reactor is all set up. >> >> > >> > 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] >> > >> > >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> > > -- > NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie! > Jetzt informieren: http://www.gmx.net/de/go/freephone > > --------------------------------------------------------------------- > 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]
