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 19:04:13 UTC

[johnzon] branch master updated: JOHNZON-301 make JAX-RS, CDI contracts optional

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 0455baa  JOHNZON-301 make JAX-RS, CDI contracts optional
0455baa is described below

commit 0455baa2a5e30c90cf113beffa55b1e7304edc24
Author: Raymond Augé <ra...@liferay.com>
AuthorDate: Tue Jan 21 13:12:10 2020 -0500

    JOHNZON-301 make JAX-RS, CDI contracts optional
    
    Signed-off-by: Raymond Augé <ra...@liferay.com>
---
 johnzon-jsonb/pom.xml | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/johnzon-jsonb/pom.xml b/johnzon-jsonb/pom.xml
index 06be104..ab26f21 100644
--- a/johnzon-jsonb/pom.xml
+++ b/johnzon-jsonb/pom.xml
@@ -120,9 +120,11 @@
               osgi.extender;filter:="(osgi.extender=osgi.serviceloader.registrar)"
             </Require-Capability>
             <_contract>
-              !JavaJAXRS,
-              !JavaCDI,
-              *
+              JavaAnnotation,
+              JavaCDI;effective:="active",
+              JavaJAXRS;effective:="active",
+              JavaJSONB,
+              JavaJSONP
             </_contract>
             <Provide-Capability>osgi.serviceloader;osgi.serviceloader=javax.json.bind.spi.JsonbProvider</Provide-Capability>
           </instructions>