This was discussed earlier on the list, check the thread '[M2]
pluginManagement and plugins usage' and related issue MNG-522.

Mark

On 08/07/05, John Fallows <[EMAIL PROTECTED]> wrote:
> When plugins are configured in a parent pom inside either
> <pluginManagement> or <build>, with <inherit>true</inherit>, the child
> pom executes the plugins without the configuration applied.
> 
> For example, even if the parent pom configures the
> maven-complier-plugin to use source 1.4, Java code in the child
> project still complains about the assert keyword, introduced in Java
> 1.4.
> 
> When the plugin configuration is transferred to the child pom
> directly, then the correct configuration is used, as expected.
> 
> Is this a known problem?
> 
> Kind Regards,
> John Fallows.
> 
> ---------------------------------------------------------------------
> 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