This is a good example of my belief, that it should be possible to
invoke other plugins dynamically by supplying an own configuration
section from your own plugin.


On Thu, Nov 25, 2010 at 6:00 AM, Peter Niederwieser <[email protected]> wrote:
> Over time, I have written several Maven plugins that configure other plugins 
> by manipulating their <configuration> section (with the Xpp3Dom API). This 
> technique has often proved to be a life saver. For example, I have a plugin 
> that determines dynamically which JUnit tests should be run, and configures 
> Surefire accordingly (by adding <include>s).
>
> With Maven 3, this technique no longer seems to work. I don't get any errors, 
> but the plugins to be configured don't see any changes made to their 
> <configuration> section, even if I perform the changes as early as in the 
> "initialize" phase. Is this an intentional change? And what is the 
> alternative?
>
> Cheers,
> Peter
>
> PS: Is there any documentation about writing plugins for Maven 3 (Guice DI, 
> new APIs, breaking changes, etc.)? Can't find anything.
>
>
>
>
>
>



-- 
I Am What I Am And That's All What I Yam (Popeye)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to