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é <[email protected]>
AuthorDate: Tue Jan 21 13:12:10 2020 -0500
JOHNZON-301 make JAX-RS, CDI contracts optional
Signed-off-by: Raymond Augé <[email protected]>
---
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>