[
https://issues.apache.org/jira/browse/IVY-1254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Yeung updated IVY-1254:
-----------------------------
Attachment: ivy-1254-multiple-dependency-management-scopes-test-case.patch
here is a patch that describes a failing test for this issue.
> Cannot resolve maven2 transitive dependency from child that has parent with
> two dependency management scopes
> ------------------------------------------------------------------------------------------------------------
>
> Key: IVY-1254
> URL: https://issues.apache.org/jira/browse/IVY-1254
> Project: Ivy
> Issue Type: Bug
> Components: Core
> Affects Versions: 2.1.0, trunk
> Environment: mac os x, with java 1.6.0_22, ivy trunk, and maven
> 2.2.1. have experienced this issue also with windows 7, java 1.6.0_18 and
> ivy 2.1.0.
> Reporter: David Yeung
> Attachments:
> ivy-1254-multiple-dependency-management-scopes-test-case.patch
>
>
> Given the maven dependencies:
> C has parent P
> P specifies dependency management of T:1.0 (not specifying scope, or type)
> P specifies dependency management of T:1.0:test for type test-jar
> C depends on T
> when:
> I create an ivy.xml that depends on C
> Then:
> Ivy cannot resolve the transitive dependency of T in the default
> configuration. Maven will resolve T as a compile scoped dependency.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.