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 09:24:49 UTC

[johnzon] branch master updated: JOHNZON-301 making jaxrs optional for jsonb module (OSGi)

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 07aa1bb  JOHNZON-301 making jaxrs optional for jsonb module (OSGi)
07aa1bb is described below

commit 07aa1bbc571f5113b86ab2508c067f7a5a827d47
Author: Romain Manni-Bucau <rm...@gmail.com>
AuthorDate: Tue Jan 21 10:24:44 2020 +0100

    JOHNZON-301 making jaxrs optional for jsonb module (OSGi)
---
 johnzon-jsonb/pom.xml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/johnzon-jsonb/pom.xml b/johnzon-jsonb/pom.xml
index 8e3f9c0..c901ea8 100644
--- a/johnzon-jsonb/pom.xml
+++ b/johnzon-jsonb/pom.xml
@@ -112,6 +112,12 @@
         <artifactId>maven-bundle-plugin</artifactId>
         <configuration>
           <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>
             <Provide-Capability>osgi.serviceloader;osgi.serviceloader=javax.json.bind.spi.JsonbProvider</Provide-Capability>
           </instructions>