slachiewicz commented on issue #1051:
URL: 
https://github.com/apache/maven-resolver/issues/1051#issuecomment-5499274335

   ### Analysis & Triage
   - **Problem Identified**: When dependency collection encounters version 
ranges with relocated versions (e.g. `B[1.0, 3.0]` where versions are relocated 
to `C`), `DfDependencyCollector` stops after the first candidate, while 
`BfDependencyCollector` picks only the reverse-sorted highest element, failing 
to expand all valid relocated candidates.
   - **Affected Versions**: Both **1.9.x** and **master (2.1.0)**.
   - **Plan to Fix**:
     1. Ensure collectors process the complete list of resolved versions from 
`VersionRangeResult` when checking relocation descriptors, preserving all 
relocated candidate nodes in the collection tree.
     2. Add test cases in `DefaultDependencyCollectorTest` verifying 
multi-version range relocations.


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

Reply via email to