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/04/21 19:15:35 UTC

[sling-org-apache-sling-commons-metrics] branch master updated: SLING-7418 Use bnd Maven plugins

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-commons-metrics.git


The following commit(s) were added to refs/heads/master by this push:
     new 72bf062  SLING-7418 Use bnd Maven plugins
72bf062 is described below

commit 72bf062d033f6a6b51139add58fe8aa732a29f1f
Author: Oliver Lietz <ol...@apache.org>
AuthorDate: Sat Apr 21 21:15:14 2018 +0200

    SLING-7418 Use bnd Maven plugins
    
    fix optional package imports
---
 bnd.bnd | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/bnd.bnd b/bnd.bnd
index 3be85ce..a69d7f5 100644
--- a/bnd.bnd
+++ b/bnd.bnd
@@ -10,9 +10,16 @@ Bundle-Vendor: The Apache Software Foundation
 
 DynamicImport-Package:\
   javax.servlet,\
-  javax.servlet.http;version="[2.3,3)",\
-  org.apache.commons.io.output;version="[2.4.0,3)",\
-  org.apache.felix.inventory;version="[1.0.0,2)"
+  javax.servlet.http,\
+  org.apache.commons.io.output,\
+  org.apache.felix.inventory
+
+Import-Package:\
+  javax.servlet;resolution:=optional,\
+  javax.servlet.http;resolution:=optional,\
+  org.apache.commons.io.output;resolution:=optional,\
+  org.apache.felix.inventory;resolution:=optional,\
+  *
 
 Provide-Capability:\
   osgi.service;objectClass=com.codahale.metrics.MetricRegistry,\

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