From 0ab39a2274da8daa3c60d99be2a8abc08d09b5fc Mon Sep 17 00:00:00 2001 From: AlexDBlack Date: Fri, 13 Dec 2019 21:41:28 +1100 Subject: [PATCH] nd4j-jackson: exclude java.xml.stream.XML*Factory from service loader to avoid clashes with other non-shaded jackson etc on classpath Signed-off-by: AlexDBlack --- nd4j/nd4j-shade/jackson/pom.xml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/nd4j/nd4j-shade/jackson/pom.xml b/nd4j/nd4j-shade/jackson/pom.xml index ad2be71fb..57cb110e1 100644 --- a/nd4j/nd4j-shade/jackson/pom.xml +++ b/nd4j/nd4j-shade/jackson/pom.xml @@ -240,6 +240,17 @@ + + + *:* + + META-INF/services/javax.xml.stream.XMLOutputFactory + META-INF/services/javax.xml.stream.XMLInputFactory + META-INF/services/javax.xml.stream.XMLEventFactory + + + +