On 2/23/08, Wendy Smoak <[EMAIL PROTECTED]> wrote:
> On Sat, Feb 23, 2008 at 10:42 AM, James Carman
>  <[EMAIL PROTECTED]> wrote:
>
>  >  From the m2 documentation site:
>  >
>  >  "Plugin Management contains plugin elements in much the same way,
>  >  except that rather than configuring plugin information for this
>  >  particular project build, it is intended to configure project builds
>  >  that inherit from this one."
>  >
>  >  So, if you define/configure the plugin within the <pluginManagement>
>  >  element, it doesn't get executed for the parent, but it does for the
>  >  children.
>
>
> ... only if the child project somehow invokes the plugin.
>
>  The pluginManagement section is a "suggestion" to the child project.
>  If the child project decides to use that plugin, it will get the
>  configuration from the parent.  But pluginManagement in the parent
>  will not *cause* the plugin to execute in the child project.
>

So, how do you say "execute this plugin during the build of my
children, but not during my build"?  We had the same situation at work
and what we ended up doing is creating a different module to be the
parent pom for all modules within our multi-level project structure.
>  --
>
> Wendy
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: [EMAIL PROTECTED]
>  For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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

Reply via email to