Skip to content

[Regression] Different requirement to get only the direct dependencies #1646

@rfscholte

Description

@rfscholte

Affected version

2.0.13

Bug description

Up until 2.0.11 when resolving only the direct dependencies you would use the following request:

new DependencyRequest(cr2, (_, b) -> b.size() <= 1)

As of 2.0.13 this has changed, because the path now has 2 elements: itself and null. To make it work, you need to use this:

new DependencyRequest(cr2, (_, b) -> b.size() <= 2)

I assume this is a regression.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions