Hiteshsai007 commented on PR #12416: URL: https://github.com/apache/maven/pull/12416#issuecomment-4886544682
@elharo Thanks for the review! I've addressed both items: 1. **Tests**: Added `testBomDependencyManagementVersionInference()` in `DefaultModelBuilderTest` that verifies version inference works for dependencies in `<dependencyManagement>`, not just `<dependencies>`. The test registers a sibling module in the reactor, then calls `transformFileToRaw` on a BOM model with a managed dependency missing its version, and asserts the version is correctly inferred. 2. **Issue link**: Updated the PR description to include `Fixes #11147`. All 13 tests in `DefaultModelBuilderTest` pass with zero failures. -- 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]
