Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-6601

Instruction Require-Capability not used precisely

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Maven Bundle Plugin
    • None

    Description

      How do I prevent the maven-bundle-plugin 5.1.8 to generate MANIFEST.MF/Require-Capability?
      It seems that the instruction Require-Capability is not used precisely, it adds to the entry rather than set it.

      In my example, for legacy requirements, Require-Capability must be absent, and I find no way to implement this. Using:

      <Require-Capability></Require-Capability>
      or
      <Require-Capability>$${def;empty}</Require-Capability>

      Cause the following to be generated for my Maven module:

      Require-Capability: osgi.extender;filter:="(&(osgi.extender=osgi.compo
      nent)(version>=1.3.0)(!(version>=2.0.0)))",osgi.ee;filter:="(&(osgi.e
      e=JavaSE)(version=1.8))"

      Any ideas?

      Attachments

        Activity

          People

            Unassigned Unassigned
            ggregory Gary D. Gregory
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: