Thank you!!!!! I think this is exactly what I was looking for! On Jan 8, 2013, at 10:56 AM, Tamás Cservenák wrote:
> Hi, > > this is a maven3-only solution, but take a peek here > https://github.com/sonatype/nexus-maven-plugins/blob/master/nexus-staging-maven-plugin/src/main/java/org/sonatype/nexus/maven/staging/deploy/DeployLifecycleParticipant.java > > But, a word of warning: whatever you do this way, might be seen as "semi > illegal". Or in other words, a quote: "With great power comes great > responsibility.". So, be warned! > > > Thanks, > ~t~ > > > On Tue, Jan 8, 2013 at 4:43 PM, Marcos Mendez <[email protected]> wrote: > >> I've checked the plugin configuration I'm modifying and it seems to be ok. >> I've even modified the plugin configuration in the current project and >> execution project. Still not working. I don't want to have to execute the >> plugin mojo directly. I want the build system to do it. >> >> I just want to dynamically tweak a plugin's configuration with another >> plugin... or perhaps there's something else I need to write? Any ideas? >> >> >> On Jan 8, 2013, at 5:42 AM, Marcos Mendez wrote: >> >>> Is it possible to alter a plugin's configuration before it executes? I'm >> writing a plugin that checks the build plugins for the current maven >> project and updates their Xpp3Dom configuration (plugin.setConfiguration). >>> The new configuration seems to be correct, but it is not used. >>> >>> For example, I'm adding some manifest entries to the bundle plugin. My >> plugin is running in the initialize phase. >>> >>> Anything I could be missing or something else I need to do? >> >> >> --------------------------------------------------------------------- >> 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]
