Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Generate OSGi infos in the manifest #2285

Open
Labels
⚡ enhancementRequest for new functionality
@laeubi

Description

🤔 What's the problem you're trying to solve?

I use this in an Eclipse plugin and currently need to repack the original cucumber jars into an OSGi bundle, but adding the info at the source has much benefits:

  1. Additional metadata in the manifest is ignored by other tools
  2. At build time there is the most rich information about used packages and versions so better metadata can be generated
  3. Using the original jar ensures it can later be identified as such e.g. with a security scanner
  4. No risk that different people repack the same jar under the same name with different settings
  5. only do the work once than on each build / consumer

✨ What's your proposed solution?

Embed OSGi metadata into the manifest of the produced jar file at the first place using a lightweight approach that enhances the usual manifest with OSGi metadata.

⛏ Have you considered any alternatives or workarounds?

Currently the metadata is added after the fact but this has several drawbacks e.g. its easy to get out of sync and there is a risk of the same people doing slightly different things multiple time.

📚 Any additional context?

The preparation work for this was done here:

This needs to be adapted in the following repositories to be fully effective but can be done iteratively, e.g we likely want to start at the root and after the release go on with the next:

Metadata

Metadata

Assignees

No one assigned

    Labels

    ⚡ enhancementRequest for new functionality

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /