[ 
https://issues.apache.org/jira/browse/SLING-9883?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17773434#comment-17773434
 ] 

Konrad Windszus commented on SLING-9883:
----------------------------------------

The PR at https://github.com/apache/sling-slingfeature-maven-plugin/pull/59 now 
adds those capabilities to regions which can be automatically mapped to those 
(in case API regions are active) and otherwise all capabilities to features not 
leveraging API regions. The API region capabilities are for now only 
`osgi.service; objectclass=` items whose FQN belong to the region.

> ApisJarMojo: Provide-Capability should be collected from all contained 
> bundles and exposed
> ------------------------------------------------------------------------------------------
>
>                 Key: SLING-9883
>                 URL: https://issues.apache.org/jira/browse/SLING-9883
>             Project: Sling
>          Issue Type: Improvement
>          Components: Feature Model
>    Affects Versions: slingfeature-maven-plugin 1.4.6
>            Reporter: Konrad Windszus
>            Assignee: Konrad Windszus
>            Priority: Major
>
> In order to leverage 
> https://github.com/bndtools/bnd/tree/master/maven/bnd-resolver-maven-plugin 
> at build time it would be nice if the API jar would include the 
> {{Provide-Capability}} headers from all contained bundles (similar to 
> {{Export-Package}} and {{Sling-Nodetypes}}).
> See also 
> https://lists.apache.org/thread.html/r7bb5c4493fa241ac5cd8d8ea313ff970866e2f2efc6254ee6a0fd41a%40%3Cdev.sling.apache.org%3E



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to