maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tamás Cservenák <>
Subject Re: updating plugin configuration
Date Tue, 08 Jan 2013 15:56:42 GMT

this is a maven3-only solution, but take a peek here

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!


On Tue, Jan 8, 2013 at 4:43 PM, Marcos Mendez <> 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:
> For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message