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

Joerg Schaible commented on MNG-2314:
-------------------------------------

Maven is right, since in your child POM you address a different artifact for 
TestNG (the artifact without a classifier). The classifier is part of the 
artifact selection, it is nothing that can be omitted.

> <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: Dependencies, Inheritance and Interpolation
>    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

        

Reply via email to