Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fully automate OSGi metadata creation and fix broken OSGi-metadata in slf4j-api #330

Merged
merged 2 commits into from Mar 15, 2023

Commits on Feb 24, 2023

  1. Improve generated OSGi metadata and restore Bundle-SymbolicName

    Enhance the generated OSGi metadata for all slf4j-modules in the
    following ways:
    - Restore the Bundle-SymbolicName, Bundle-Name, Bundle-Vendor and
    Bundle-DocURL from SLF4J-2.0.5 and before
    - Removes Export-Package: META-INF.versions.9
    - Removes self-Imports of exported package (has to be added again in a
    follow up, where desired)
    - Remove unnecessary BND-internal headers
    
    Additionally move the maven-bundle-plugin configuration from the
    execution configuration up into the configuration of the plugin so that
    it can be easier overwritten in child-modules.
    
    Signed-off-by: Hannes Wellmann <wellmann.hannes1@gmx.net>
    HannesWell committed Feb 24, 2023
    Copy the full SHA
    55ad5c9 View commit details
    Browse the repository at this point in the history
  2. Automate OSGi metadata creation and restore package-exports of slf4j-api

    Only use the maven-bundle-plugin to generate all OSGi metadata into
    slf4j-api's Manifest.MF file. This unifies the resulting MANIFEST.MFs
    that are currently partly generated and partly statically defined.
    
    Furthermore it fixes the following flaws in the currently generated OSGi
    metadata of slf4j-api:
    - Import only the exported org.slf4j.spi package (like in slf4j 2.0.5
    and before)
    - Replace the deprecated 'Bundle-RequiredExecutionEnvironment' header by
    a corresponding required 'osgi.ee' capability
    
    Signed-off-by: Hannes Wellmann <wellmann.hannes1@gmx.net>
    HannesWell committed Feb 24, 2023
    Copy the full SHA
    ef4c1ce View commit details
    Browse the repository at this point in the history