Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add OSGi runtime metadata to error-prone's MANIFEST.MF files
As suggested in #2967 (comment) this PR aims to add OSGi runtime metadata to the error-prone jars. It achieves this by employing the [bnd-maven-plugin:bnd-process](https://github.com/bndtools/bnd/tree/master/maven-plugins/bnd-maven-plugin#bnd-process-goal) goal to generate the OSGi metadata, like the values of the Manifest headers `Bundle-SymbolicName`, `Import-Package` and `Export-Package`. The schema used for `Bundle-SymbolicName` headers is based on the schema used for the `Automatic-Module-Name` in the error-prone-annotations artifact. With this change additionally all other error-prone artifacts get a `Automatic-Module-Name` too. @cushon can you please review this PR? If you have any question, I would be happy to answer them. Fixes #2967 Fixes #3903 FUTURE_COPYBARA_INTEGRATE_REVIEW=#3903 from HannesWell:osgiMetadata f1ee0a4 PiperOrigin-RevId: 531653111
- Loading branch information