goutamadwant opened a new pull request, #13081: URL: https://github.com/apache/maven/pull/13081
Fixes #6804. Follow BOM relocation chains in both model builders, including partial relocations. Preserve dependency-management precedence, import exclusions, and the modern resolver's selected version when resolving a range. Report invalid relocation coordinates, missing relocation targets, and relocation/import cycles without changing ordinary imported-model validation behavior. Preserve sharing of ordinary in-flight imports while avoiding cyclic waits introduced by relocation traversal. Validation: - The reported failure reproduces on untouched master and passes with the fix through both the CLI and the new Core IT. - All 39 focused relocation, compatibility, and concurrency tests pass. - `mvn verify` passes: 3,152 unit tests, zero failures/errors, 16 skips, plus one reactor integration test. - Full forked Core IT: 1,074 tests, three failing tests, 43 skips. MNG3955 and MNG4411 fail identically on untouched master. MavenITMvnupToolchainPluginStrategyTest passes after refreshing its previously modified generated fixture. MNG4590 and the new MNG5527 test pass in the full run. - [x] This pull request addresses one issue without unrelated changes. - [x] The description explains what changes, how, and why. - [x] Commits have meaningful subjects and bodies. - [x] Regression tests cover the behavioral changes; the reported case fails without the fix. - [x] `mvn verify` passes. - [ ] The [Core IT suite](https://maven.apache.org/core-its/core-it-suite/) passes. - [ ] I hereby declare this contribution to be licenced under the [Apache License Version 2.0, January 2004](http://www.apache.org/licenses/LICENSE-2.0). - [ ] In any other case, please file an [Apache Individual Contributor License Agreement](https://www.apache.org/licenses/icla.pdf). -- 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]
