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

Chetan Mehrotra commented on SLING-6474:
----------------------------------------

Currently it generates following provide capability
{noformat}
Provide-Capability                      
osgi.service;objectClass:List<String>="javax.servlet.Servlet,org.apache.felix.inventory.InventoryPrinter"
{noformat}

Not sure how to add one for org.apache.sling.commons.metrics.MetricsService as 
thats added by within a DS component so tooling does not have insight into that 
(SLING-7045)

[~karlpauls] [~cziegeler] Any suggestion on how to do this?

> Commons Metrics DOES not declare provide capability for Metrics service
> -----------------------------------------------------------------------
>
>                 Key: SLING-6474
>                 URL: https://issues.apache.org/jira/browse/SLING-6474
>             Project: Sling
>          Issue Type: Improvement
>          Components: Commons
>    Affects Versions: Commons Metrics 1.2.0
>            Reporter: Nino Martinez
>            Assignee: Chetan Mehrotra
>             Fix For: commons metrics 1.2.4
>
>
> Commons Metrics needs to declare provide capability for 
> org.apache.sling.commons.metrics.MetricsService in manifest.MF
> otherwise other bundles that specifies require capability on the 
> MetricsService will fail to start.
> AS of maven bundle plugin 3.2.0 this will become a problem, since they fixed 
> the capabilities generation.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to