Peter Rader created FELIX-6524:
----------------------------------

             Summary: Support OSGi 7
                 Key: FELIX-6524
                 URL: https://issues.apache.org/jira/browse/FELIX-6524
             Project: Felix
          Issue Type: Improvement
          Components: Maven Bundle Plugin
            Reporter: Peter Rader


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|https://stackoverflow.com/questions/72006339] 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]

 

 



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to