Closed stbischof closed 5 months ago
Are you open for an PR? What would be the restrictions?
We are always open to contributions (PRs).
In this particular case, what I can say is that in the upcoming version 7+, all manifest files would be having static export packages lists. We rarely add new packages to a module, and when we do, once in a while, we can recreate the list of packages using a manifest file editor from an IDE, which would provide us the complete list of packages available in the module.
The issue with the Manifest is not only the Exports. Having proper Imports and Optional Import is very important.
and each exported packages should also have the packages is uses defines.
See:
net.sf.jasperreports.charts.design;version="0.0.0";uses:="net.sf.jasperreports.charts,net.sf.jasperreports.charts.base,net.sf.jasperreports.charts.type,net.sf.jasperreports.charts.util,net.sf.jasperreports.engine,net.sf.jasperreports.engine.design"
i would like to enhance the OSGi Metadata for an better OSGi support.
Would you be open for a PR containing a mvn Plugin that calculates all relevant metadata and sets it to the META-INF/MANIFEST.MF
first draft after calculation: