gnodet opened a new pull request, #12569: URL: https://github.com/apache/maven/pull/12569
Backport of #12416 to `maven-4.0.x` for inclusion in RC-6. Version and groupId inference in `transformFileToRaw` was only applied to direct dependencies but not to dependencies declared in `<dependencyManagement>`. This caused installed consumer BOMs to be missing version tags for reactor sibling modules, making the BOM unusable by downstream consumers. Extracts the inference loop into a reusable `inferDependencies` helper and applies it to both `<dependencies>` and `<dependencyManagement>`. Closes #11147 -- 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]
