gnodet opened a new pull request, #12940: URL: https://github.com/apache/maven/pull/12940
## Summary - Adds an end-to-end integration test for the fix merged in #12915 (for issue #12660) - The test exercises the scenario where a BOM module declares a managed dependency with `scope=provided` but **no version**, and the version should be inherited from an imported BOM - Verifies the consumer POM contains the resolved version (`3.0.0`) and preserves the scope (`provided`) - Registers the test in `TestSuiteOrdering` ## Context PR #12915 fixed the version inheritance in `DefaultDependencyManagementImporter.importManagement()` but only included a unit test. This IT provides end-to-end regression coverage by: 1. Building a multi-module project with an `ext-bom` (providing `ext-lib` version `3.0.0`) 2. A `bom` module that imports `ext-bom` and declares `ext-lib` with `scope=provided` but no version 3. Asserting the installed consumer POM contains `ext-lib` with version `3.0.0` and scope `provided` ## Test plan - [x] IT passes locally against the built Maven 4.0.0-SNAPSHOT distribution - [ ] CI passes 🤖 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]
