[ http://jira.codehaus.org/browse/MNG-2314?page=all ]
John Casey closed MNG-2314. --------------------------- Assignee: John Casey Resolution: Cannot Reproduce I cannot reproduce this issue, either with the additional unit tests I added directly for the DefaultModelInheritanceAssembler, or using the project tests that I've attached to this issue. > <dependencyManagement> not inherited more than one level > -------------------------------------------------------- > > Key: MNG-2314 > URL: http://jira.codehaus.org/browse/MNG-2314 > Project: Maven 2 > Issue Type: Bug > Components: Inheritence and Interpolation, Dependencies > Affects Versions: 2.0.4 > Reporter: Simon Kepp Nielsen > Assigned To: John Casey > Fix For: 2.0.5 > > Attachments: MNG-2314.test.zip > > > Version information from the <dependencyManagement> section in the parent pom > is correctly inherited to dependencies in a child project. But if you try to > inherit version information from a grand-parent project, you get the > following error: > Error Building POM (may not be this project's POM). > POM Location: <child pom location> > Validation Messages: > [0] 'dependencies.dependency.version' is missing for > <groupId>:<artifactId> > Reason: Failed to validate POM -- 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