-
Bug
-
Resolution: Done
-
Critical
-
fuse-7.6-GA
-
%
-
-
build2
-
When using camel-dozer, end up with auto imported (via maven-bundle-plugin) bundle imports for JAX-B 2.3 or later, resulting from the import of the fuse-karaf-bom and its managed version of jaxb-api 2.3.1.
However, Fuse 7.x is tested and supported to run on Java 8, which supports JAX-B 2.2.11 [1].
Upon review of the dependency tree on simple project including camel-dozer component logs [0] show the following:
[INFO] | +- javax.xml.bind:jaxb-api:jar:2.3.1:compile (version managed from 2.2.11)
When I traverse the BOMs I see the culprit is the fabric8-project-bom-fuse-karaf BOM imported by the fuse-karaf-bom.
Please update fabric8-project-bom-fuse-karaf
<version.javax.xml.bind.jaxb-api>2.3.1</version.javax.xml.bind.jaxb-api>
as such
<version.javax.xml.bind.jaxb-api>2.2.11</version.javax.xml.bind.jaxb-api>
[1] https://javaee.github.io/jaxb-v2/doc/user-guide/ch02.html#a-2-3-0