You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@johnzon.apache.org by rm...@apache.org on 2020/01/21 11:01:36 UTC

[johnzon] branch master updated: adding a comment in jsonb module to not forget to refine OSGI requirements

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

rmannibucau pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/johnzon.git


The following commit(s) were added to refs/heads/master by this push:
     new b59ba48  adding a comment in jsonb module to not forget to refine OSGI requirements
b59ba48 is described below

commit b59ba48c69015d76647779786c2f29371ee8632b
Author: Romain Manni-Bucau <rm...@gmail.com>
AuthorDate: Tue Jan 21 12:01:31 2020 +0100

    adding a comment in jsonb module to not forget to refine OSGI requirements
---
 johnzon-jsonb/pom.xml | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/johnzon-jsonb/pom.xml b/johnzon-jsonb/pom.xml
index 5b35b09..d799524 100644
--- a/johnzon-jsonb/pom.xml
+++ b/johnzon-jsonb/pom.xml
@@ -114,14 +114,21 @@
           <instructions>
             <Import-Package>
               javax.ws.rs.*;resolution:=optional,
-              javax.ws.rs.core.*;resolution:=optional,
-              javax.ws.rs.ext.*;resolution:=optional,
               *
             </Import-Package>
-            <Require-Capability>osgi.extender;filter:="(osgi.extender=osgi.serviceloader.registrar)"</Require-Capability>
+            <Require-Capability> <!-- todo: make JavaCDI and JavaJAXRS optional -->
+              osgi.extender;filter:="(osgi.extender=osgi.serviceloader.registrar)"
+            </Require-Capability>
             <Provide-Capability>osgi.serviceloader;osgi.serviceloader=javax.json.bind.spi.JsonbProvider</Provide-Capability>
           </instructions>
         </configuration>
+        <dependencies>
+          <dependency>
+            <groupId>biz.aQute.bnd</groupId>
+            <artifactId>biz.aQute.bndlib</artifactId>
+            <version>4.3.1</version>
+          </dependency>
+        </dependencies>
       </plugin>
     </plugins>
   </build>