[
https://issues.apache.org/jira/browse/MRESOLVER-379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17739031#comment-17739031
]
Tamas Cservenak commented on MRESOLVER-379:
-------------------------------------------
Seems related, as it is exactly what happens it seems: MNG-3454
Note: this issue is Maven2, but Maven3/Resolver was done by strictly mimicking
Maven2 behavior to lessen breakages and ease migration.
> Problem when relocations and ranges are used in collection
> ----------------------------------------------------------
>
> Key: MRESOLVER-379
> URL: https://issues.apache.org/jira/browse/MRESOLVER-379
> Project: Maven Resolver
> Issue Type: Bug
> Components: Resolver
> Reporter: Tamas Cservenak
> Priority: Major
>
> Affects both old DF and new BF collectors.
> Example:
> * A1 -> B[1,3]
> * B1 relocated to C1
> * B2 relocated to C2
> * B3 relocated to C3
> In this example, as output of collection dirty tree (verbose) I'd expect:
> {noformat}
> A1
> +- C1
> +- C2
> +- C3
> {noformat}
> But none of the DF or BF produce this, moreover, they produce DIFFERENT
> outputs:
> DF does this:
> {noformat}
> A1
> +- C1
> {noformat}
> BF does this:
> {noformat}
> A1
> +- C3
> {noformat}
> Cause is probably as BF "reverse sort" versions, but none will return proper
> range.
> Real life example: MRESOLVER-376, where junit:junit-dep:[4.9,) range "maps
> itself" onto junit:junit versions.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)