[ 
http://jira.codehaus.org/browse/MNG-3394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_126364
 ] 

John Casey commented on MNG-3394:
---------------------------------

The code on that ModelDefaultsInjector impl seems nearly identical between 
2.0.x/HEAD and 2.1/HEAD (slight formatting diffs), but the two behave 
dramatically different on this point. 2.1-SNAPSHOT allows local override of 
plugin version (in the build/plugins section), where 2.0.9-SNAPSHOT does not. 
I'm not sure where else pluginManagement comes into play (it probably shouldn't 
be in play at all once the project instance is built), but the difference must 
lie outside of the defaults injector...

Sorry for the red herring.

> Plugin versions inherited via <pluginManagement> cannot be overriden by 
> <build>.<plugins> section of sub modules
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: MNG-3394
>                 URL: http://jira.codehaus.org/browse/MNG-3394
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Inheritance and Interpolation
>    Affects Versions: 2.0.8
>            Reporter: Benjamin Bentmann
>            Priority: Critical
>             Fix For: 2.0.9
>
>         Attachments: plugin-management-version.zip
>
>
> See the comments in the module POM of the attached demo project for more 
> explanation.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to