Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatic generation of JPMS and OSGi descriptors #1830

Closed
Tracked by #1705
ppkarwasz opened this issue Oct 3, 2023 · 0 comments
Closed
Tracked by #1705

Automatic generation of JPMS and OSGi descriptors #1830

ppkarwasz opened this issue Oct 3, 2023 · 0 comments
Assignees

Comments

@ppkarwasz
Copy link
Contributor

Current state

Currently we either write JPMS descriptors manually, which is error prone and often untested or use automatic modules, which is less secure than named modules

For OSGi we use maven-bundle-plugin to generate the descriptors and export by default all the packages. The plugin itself has a couple of inconveniences:

  • it is often out-of-sync with the BND tools version that it uses,
  • it is an additional Open Source project we rely upon.

Solution

We should migrate to bnd-maven-plugin in order to:

  • automatically generate OSGi descriptors,
  • automatically generate JPMS descriptors,
  • export only explicitly annotated packages.

This plugin is released by the same project as BND and is (almost always?) in sync with the BND library version.

@ppkarwasz ppkarwasz added the STF-Milestones Milestones funded by the Sovereign Tech Fund label Oct 3, 2023
@vy vy removed the STF-Milestones Milestones funded by the Sovereign Tech Fund label May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants