You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Tamas Cservenak (Jira)" <ji...@apache.org> on 2023/06/30 10:06:00 UTC

[jira] [Updated] (MRESOLVER-379) Problem when relocations and ranges are used in collection

     [ https://issues.apache.org/jira/browse/MRESOLVER-379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tamas Cservenak updated MRESOLVER-379:
--------------------------------------
    Description: 
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 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.

  was:
Affects both old DF and new BF collectors.
Example:
* A1 -> B[1,3]
* B1 -relocated-> C1
* B2 -relocated-> C2
* B3 -relocated-> C3

In this example, as output of collection dirty tree 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.


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



--
This message was sent by Atlassian Jira
(v8.20.10#820010)