sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From o...@apache.org
Subject [sling-org-apache-sling-commons-metrics] branch master updated: SLING-7418 Use bnd Maven plugins
Date Sat, 21 Apr 2018 19:15:35 GMT
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 <olli@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.

Mime
View raw message