rfscholte opened a new issue, #1646:
URL: https://github.com/apache/maven-resolver/issues/1646
### 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.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]