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]

Reply via email to