[
https://issues.apache.org/jira/browse/SLING-6474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16265247#comment-16265247
]
Karl Pauls commented on SLING-6474:
-----------------------------------
[~chetanm], the reason is that the other services are published via:
@Component(service={}...). In other words, they specifically request to not be
published under a service interface -consequently, they don't get a Capability
either - works as designed i guess :-)
> 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)