Skip to content

Automatic generation of JPMS and OSGi descriptors #1830

Closed
@ppkarwasz

Description

@ppkarwasz

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions