You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2005/10/15 17:17:11 UTC

[jira] Commented: (MNG-1207) Recursive dependencies with exclusive bounds fail

    [ http://jira.codehaus.org/browse/MNG-1207?page=comments#action_48664 ] 

Brett Porter commented on MNG-1207:
-----------------------------------

Garrett - is this really a 2.0 blocker for you? We expect a 2.0.1 in a reasonably short timeframe (probably 2-3 weeks depending on whether there are many more issues reported after the release).

I'm hesitant to re-roll the artifact code with the release so close without time to do sufficient testing.

> Recursive dependencies with exclusive bounds fail
> -------------------------------------------------
>
>          Key: MNG-1207
>          URL: http://jira.codehaus.org/browse/MNG-1207
>      Project: Maven 2
>         Type: Bug
>   Components: maven-artifact
>     Versions: 2.0 (RC)
>     Reporter: Garrett Conaty
>     Priority: Blocker
>      Fix For: 2.0

>
>
> ResolutionNode.getDependencyTrail calls artifact.selectVersion(artifact.getSelectedVersion()) even w/o checking artifact.isSelectedVersionKnown().
> It should perhaps have the same handling as DefaultArtifactCollector.recurse(...) which uses retrieveAvailableVersions or getAvailableVersions to then call artifact.getVersionRange().matchVersion(...)
> Example:
> A depends on B which depends on C
> if B depends on C version (1.0,1.1)
> then B resolves the dependencies fine.
> However, if you try to build A, then maven tries to look for C-1.1.jar which is of course outside B's dependency version.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org