Bnd task is more targeted and offers more control w.r.t. building OSGi metadata. We also need it later to leverage access to classpath references for producing more accurate metadata.
While making this change we also have to do an initial pass over the metadata to make sure it's all still minimally correct.
master: https://github.com/apache/tomcat/pull/305 9.0.x: https://github.com/apache/tomcat/pull/306
Fixed in: - master for 10.0.0-M7 onwards - 9.0.x for 9.0.37 onwards Thanks for the PRs.
For the record, this was not really a bug. The packages were in fact in the jar. I confirmed with a binary check before and after the change and the jar is unchanged except for the manifest and the module-info.class