goutamadwant opened a new pull request, #12959: URL: https://github.com/apache/maven/pull/12959
Fixes #10179 ### Summary Report conflicting BOM import warnings once at the model that declares the imports instead of repeating them for every inheriting child. ### Implementation - 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. ### Verification - `mvn --batch-mode verify` - Full `maven-impl` verification: 613 tests passed, 4 skipped - Focused model-builder verification: 27 tests passed - Coverage includes serial and parallel reactors, CI-friendly versions, child-activated parent profiles, repeated model-builder sessions, independent declarations, and non-reactor parents Following this checklist to help us incorporate your contribution quickly and easily: - [x] This pull request addresses one issue without unrelated changes. - [x] The description explains what the change does, how, and why. - [x] The commit has a meaningful subject and DCO sign-off. - [x] Unit tests cover the behavioral changes. - [x] `mvn verify` passes. - [ ] The Core IT suite has been run successfully. - [x] 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]
