[M2] pluginManagement vs. plugin in parent pom.xml

2006-12-04 Thread CodingPlayer
Hi, i just found out about the existence of the pluginManagement section in a pom.xml. But i wonder, what is the difference to a plugin section?? Until now, i only use a plugin section in my parent pom.xml, and all of the plugins still work in my sub-projects. So, why should i put these

Re: [M2] pluginManagement vs. plugin in parent pom.xml

2006-12-04 Thread nicolas de loof
AFAIK the plugins section is inherited by modules, and the pluginmanagement only defines a common configuration for plugins BUT does not enable them on child modules. You can then configure commons plugin for all your modules in plugins and define a common configuration for some plugin that are

Re: [M2] pluginManagement vs. plugin in parent pom.xml

2006-12-04 Thread Eric Redmond
On 12/4/06, nicolas de loof [EMAIL PROTECTED] wrote: AFAIK the plugins section is inherited by modules, and the pluginmanagement only defines a common configuration for plugins BUT does not enable them on child modules. Sort of... modules don't inherit anything from their multi-module