You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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:Solution
We should migrate to
bnd-maven-plugin
in order to:This plugin is released by the same project as BND and is (almost always?) in sync with the BND library version.
The text was updated successfully, but these errors were encountered: