[ http://jira.codehaus.org/browse/MNG-2314?page=all ]
John Casey updated MNG-2314:
----------------------------
Attachment: MNG-2314.test.zip
this is my set of POM tests, in addition to the unit tests I've put in SVN, to
verify that I cannot reproduce this issue.
I visually inspected the POM resulting from a build of the bottom project using:
mvn help:effective-pom
I also made a point of executing:
mvn -N install
on both of the parent dirs, and moving the bottom project out to a different
directory structure, then trying again, just to be sure it wasn't related to a
resolution problem when the parent POMs were in the repository.
> <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
> 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