Repository: aries-jax-rs-whiteboard
Updated Branches:
  refs/heads/master 673fcdd86 -> ba261b0cd


Provide the osgi.jaxrs capability, and version the osgi.http requirement

Signed-off-by: Tim Ward <[email protected]>


Project: http://git-wip-us.apache.org/repos/asf/aries-jax-rs-whiteboard/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/aries-jax-rs-whiteboard/commit/ba261b0c
Tree: 
http://git-wip-us.apache.org/repos/asf/aries-jax-rs-whiteboard/tree/ba261b0c
Diff: 
http://git-wip-us.apache.org/repos/asf/aries-jax-rs-whiteboard/diff/ba261b0c

Branch: refs/heads/master
Commit: ba261b0cdad01361dae43d5352424a12a93395f9
Parents: 673fcdd
Author: Tim Ward <[email protected]>
Authored: Thu Nov 30 11:14:30 2017 +0000
Committer: Tim Ward <[email protected]>
Committed: Thu Nov 30 11:14:53 2017 +0000

----------------------------------------------------------------------
 jax-rs.whiteboard/bnd.bnd | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/aries-jax-rs-whiteboard/blob/ba261b0c/jax-rs.whiteboard/bnd.bnd
----------------------------------------------------------------------
diff --git a/jax-rs.whiteboard/bnd.bnd b/jax-rs.whiteboard/bnd.bnd
index 081f99d..f7d620f 100644
--- a/jax-rs.whiteboard/bnd.bnd
+++ b/jax-rs.whiteboard/bnd.bnd
@@ -2,10 +2,13 @@ Bundle-Activator: 
org.apache.aries.jax.rs.whiteboard.activator.CXFJaxRsBundleAct
 Provide-Capability: \
     osgi.implementation; \
         osgi.implementation='aries.jax-rs'; \
-        version:Version='${Bundle-Version}'
+        version:Version='${Bundle-Version}',\
+    osgi.implementation; \
+        osgi.implementation='osgi.jaxrs'; \
+        version:Version='1.0.0'
 Require-Capability: \
     osgi.implementation; \
-        filter:='(osgi.implementation=osgi.http)'
+        filter:='(&(osgi.implementation=osgi.http)(version>=1)(!(version>=2)))'
 Import-Package:\
     !com.sun.*,\
     !com.ctc.wstx.*,\

Reply via email to