slawekjaranowski opened a new pull request, #14191: URL: https://github.com/apache/maven/pull/14191
Backport of #14162 to `maven-3.9.x`. The `org.eclipse.sisu` package is not exported by Maven core to plugin realms, so Sisu annotations used by plugin components, such as `@org.eclipse.sisu.Priority`, are not visible at runtime and the container silently ignores them (see apache/maven-enforcer#1091). This change exports the `org.eclipse.sisu` package (annotations like `@Priority`, `@Description`, `@Typed`, `@EagerSingleton` and the `BeanEntry` / `Mediator` API). Only the package itself is exported, not its sub-packages (`org.eclipse.sisu.inject`, `org.eclipse.sisu.plexus`, ...), so Sisu internals stay hidden. `maven-enforcer-plugin` is bumped to 3.7.0, which fixes the `excludes` filtering of the built-in `enforceBytecodeVersion` rule (apache/maven-enforcer#990). The override can be removed with the next maven-parent (apache/maven-parent#648). Cherry-picked from 476acd3d592902f88a10218ea8d0ba03e58f5a77; the conflicts were only in the surrounding context (no `jakarta.*` exports / `toolboxVersion` on this branch). --- To make clear that you license your contribution under the [Apache License Version 2.0, January 2004](https://www.apache.org/licenses/LICENSE-2.0) check one of the following: - [ ] I hereby declare this contribution to be licensed under the [Apache License Version 2.0, January 2004](https://www.apache.org/licenses/LICENSE-2.0) - [x] I hereby declare that I have filed an [Apache Individual Contributor License Agreement](https://www.apache.org/licenses/icla.pdf). 🤖 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]
