From: Robert Varga Date: Tue, 9 Oct 2018 11:26:15 +0000 (+0200) Subject: jaxb-api should be scope=compile X-Git-Tag: v2.0.12~8 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=commitdiff_plain;h=8118a5da123eebf172d062324eb7344c63586aa8;p=yangtools.git jaxb-api should be scope=compile Keeping scope=provided breaks downstream tests with JDK9+, hence we need to rework the dependencies to make sure we always pull jaxb-api, but we also need to exclude it from odl-yangtools-data feature, because it is provided by Karaf. Change-Id: Id09281c89a74c3d6c780179dfa21ced545318ba1 JIRA: YANGTOOLS-906 Signed-off-by: Robert Varga (cherry picked from commit eeb3076563314a67ccbe2d083dede2051d12e060) --- diff --git a/features/odl-yangtools-data/pom.xml b/features/odl-yangtools-data/pom.xml index a55d95b1a3..b6cccd2b88 100644 --- a/features/odl-yangtools-data/pom.xml +++ b/features/odl-yangtools-data/pom.xml @@ -45,6 +45,13 @@ org.opendaylight.yangtools yang-data-impl + + + + javax.xml.bind + jaxb-api + + org.opendaylight.yangtools diff --git a/yang/yang-data-impl/pom.xml b/yang/yang-data-impl/pom.xml index 3efc4438c1..b68a0e3140 100644 --- a/yang/yang-data-impl/pom.xml +++ b/yang/yang-data-impl/pom.xml @@ -152,7 +152,6 @@ javax.xml.bind jaxb-api 2.2.1 - provided