You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ol...@apache.org on 2018/05/06 10:36:21 UTC

[sling-org-apache-sling-discovery-oak] branch master updated: SLING-7654 Add missing OSGi capability

This is an automated email from the ASF dual-hosted git repository.

olli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-discovery-oak.git


The following commit(s) were added to refs/heads/master by this push:
     new a1cbbf9  SLING-7654 Add missing OSGi capability
a1cbbf9 is described below

commit a1cbbf9ef2fd4a42836b72d77aa203675517e168
Author: Oliver Lietz <ol...@apache.org>
AuthorDate: Sun May 6 12:35:30 2018 +0200

    SLING-7654 Add missing OSGi capability
---
 pom.xml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/pom.xml b/pom.xml
index a03ef01..c9d23f4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -75,6 +75,10 @@
                 <Export-Package>
                   !org.apache.sling.discovery.oak
                 </Export-Package>
+                <!-- remove when upgrading to bnd Maven plugin -->
+                <Provide-Capability><![CDATA[
+                  osgi.service;objectClass:List<String>="org.apache.sling.discovery.oak.Config,org.apache.sling.discovery.base.connectors.BaseConfig,org.apache.sling.discovery.commons.providers.spi.base.DiscoveryLiteConfig"
+                ]]></Provide-Capability>
 		          </instructions>
 		        </configuration>
             </plugin>

-- 
To stop receiving notification emails like this one, please contact
olli@apache.org.