On Aug 11, 2007, at 5:05 AM, Kenney Westerhof wrote:
In Maven-project, there's org.apache.maven.project.ModelUtils, which has some
methods to merge plugin definitions.

Okay, thanks I will have a peek.


Just curious, what do you need this for?

Well, basically, I want to create a plugin, which will depend on another plugin as a compile dependency, and then have the new plugin pick up all of the other plugins goals and dependency configuration. Basically, I want to _extend_ an entire plugin.

I'm trying to play around with how I can use more Groovy code in the modules that support the groovy-maven-plugin, so I am playing with a bootstrap plugin that just contains all of the goals to compile... there about about 5 of them right now. But I don't want to have a compiler plugin and then a groovy plugin, I want them all in the same plugin, but I also want to write some of the other goals in Groovy, which becomes well... not easy ;-)

So, I'm just experimenting with some ways to do it better... and thats where the idea to have one plugin extend another came from.

--jason



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to