gnodet commented on PR #12722:
URL: https://github.com/apache/maven/pull/12722#issuecomment-5462501916
Pushed a fixup commit: `type=bom` should NOT require `scope=import` for BOM
import processing.
**The `bom` type inherently implies import semantics** — unlike `type=pom`
which needs `scope=import` to be treated as a BOM import. The filter is now
`(pom && import) || bom` instead of `(pom || bom) && import`.
Changes:
- `DefaultModelBuilder`: `!(("pom" && "import") || "bom")` — processes
`type=bom` regardless of scope
- Test: renamed to `testBomTypeImpliesImportWithoutScope`, test POM no
longer has `<scope>import</scope>`
- Test POM comment: clarifies the intent
All 579 tests in `maven-impl` pass.
--
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]