You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Shane Isbell (JIRA)" <ji...@codehaus.org> on 2009/02/17 14:55:19 UTC

[jira] Commented: (MNG-4034) [regression] dependency version is not inherited from parent dependencyManagement

    [ http://jira.codehaus.org/browse/MNG-4034?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=165933#action_165933 ] 

Shane Isbell commented on MNG-4034:
-----------------------------------

This occurs because the building sequence is: 1) inheritance; 2) dependency management; 3) profiles. Since the profile contains the dependency, it is joined in after dependency management rules and thus does not contain the version. I'll re-work ordering.

> [regression] dependency version is not inherited from parent dependencyManagement
> ---------------------------------------------------------------------------------
>
>                 Key: MNG-4034
>                 URL: http://jira.codehaus.org/browse/MNG-4034
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Inheritance and Interpolation, Profiles
>    Affects Versions: 3.0-alpha-1
>            Reporter: Igor Fedorenko
>            Assignee: Shane Isbell
>             Fix For: 3.0-alpha-3
>
>         Attachments: effpom.xml
>
>
> Dependency version is missing for dependencies defined inside a profile and actual version provided in dependencyManagement section of the parent pom. I will attach sample (effective) pom shortly.

-- 
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