gnodet opened a new pull request, #13003: URL: https://github.com/apache/maven/pull/13003
## Summary Backport of #12959 to `maven-4.0.x`. - Report conflicting BOM import warnings once at the model that declares the imports instead of repeating them for every inheriting child. - Preserve each imported dependency-management source's declaration location. - Deduplicate warnings by declaration location and message within one top-level build. - Route warnings to the declaring reactor model's problem collector. - Use concurrent constant-time lookup for parallel model building. - Reset diagnostic state between top-level builds and during reactor-root fallback. - Preserve warnings from independent declarations and non-reactor parents. ## Cherry-pick details Two commits cherry-picked from `master` with one minor conflict resolution (added missing `Constants` import for `maven-4.0.x` compatibility). ## Test plan - [x] `DefaultModelBuilderTest` — 24 tests passed (including 3 new MNG-8450 tests) - [x] Compilation verified on `maven-4.0.x` base 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- 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]
