From c1b2532c12fbf6414ccc36c061eb1c6861b947d2 Mon Sep 17 00:00:00 2001 From: Christoph Fiehe Date: Fri, 12 Apr 2019 18:11:04 +0200 Subject: [PATCH] Fix for using jackson-databind in an OSGi environment under Android This bundle is unresolvable in an OSGi environment under Android, because the package 'org.w3c.dom.bootstrap' is unavailable. The problem can be easily fixed by declaring the corresponding package as an optional import. Signed-off-by: Christoph Fiehe --- pom.xml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 717e604180..0647fb835e 100644 --- a/pom.xml +++ b/pom.xml @@ -27,7 +27,11 @@ com.fasterxml.jackson.databind.*;version=${project.version} - + + + org.w3c.dom.bootstrap;resolution:=optional, + * + com/fasterxml/jackson/databind/cfg