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

Support OSGi 7

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Cannot Reproduce
    • None
    • None
    • Maven Bundle Plugin
    • None

    Description

      The Maven Bundle Plugin generates this Beans-Manifest:

          beans="a.Controller"

      But this is Expected in OSGi 7:

          beans:List<String>="a.Controller"

       

      As you see here the Maven Bundle Plugin can not generate OSGi 7 capable libraries.

      The cause of the problem is that beans in the Manifest.MF should be declared as a List of String, instead of a String.
      Official documentation:

      https://docs.osgi.org/specification/osgi.enterprise/7.0.0/service.cdi.html#org.osgi.service.cdi.CDIConstants.REQUIREMENT_BEANS_ATTRIBUTE

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            nocturn Peter Rader
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: