You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "gnodet (via GitHub)" <gi...@apache.org> on 2026/08/30 15:09:36 UTC
[PR] Add integration test for #12660: BOM version from imported BOM [maven]
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: issues-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Add integration test for #12660: BOM version from imported BOM [maven]
Posted by "gnodet (via GitHub)" <gi...@apache.org>.
gnodet merged PR #12940:
URL: https://github.com/apache/maven/pull/12940
--
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: issues-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org