No suggestions, I think you have a clear view of the options in front of
you.

On Thu, 2009-08-20 at 17:35 +0200, Ute Platzer wrote:

> Hi Mike,
> 
> thanks for the quick reply!
> 
> If I configure the plugin within the pluginManagement section of the parent, 
> it's not automatically 
> executed in the sub-modules. I have to add it to the plugins section of all 
> the sub-modules' pom 
> files -- (yes, I do not need to duplicate the configuration, but I still need 
> to specify groupId and 
> artifactId every time) - my project has > 30 sub-modules, with more to come.
> 
> I think this is a general maven problem, that one cannot configure a plugin 
> in a parent pom file for 
> automatic execution in sub-modules only.
> 
> One solution for this case would be to change the xml-maven-plugin so it does 
> not complain if the 
> xml source directory is not present. Then it wouldn't matter whether it was 
> executed in the parent 
> or not. Or I could create a dummy directory... hm.
> 
> Any other suggestions?
> 
> Regards,
>   Ute
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
> 
>     http://xircles.codehaus.org/manage_email
> 
> 

Mike Power

Reply via email to