[
https://issues.apache.org/jira/browse/SLING-6474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16276309#comment-16276309
]
Nino Martinez commented on SLING-6474:
--------------------------------------
Thats strange because I had to add this:
<Provide-Capability>osgi.service;
objectClass=org.apache.sling.commons.metrics.MetricsServiceProvide-Capability>
in my project to get it working. for my DS components.. And its not entirely
correct a DS component might both be just a component, but can also be
published under a service interface..
> 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.6
>
>
> 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)