You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The packages jakarta.xml.bind-api v2.3.3 and org.glassfish.jaxb/jaxb-runtime v2.3.3 seem to be recommended/required to enable JAXB for Java 11.
However, OH, using biz.aqute.bnd:bnd-maven-plugin:5.1.2:bnd-process fails to build when the mentioned packages are included as dependencies in binding pom.xml. Probably due to the multi-release nature of the packages.
Bnd error:
Classes found in the wrong directory:
META-INF/versions/9/javax/xml/bind/ModuleUtil.class=javax.xml.bind.ModuleUtil
META-INF/versions/9/com/sun/xml/bind/v2/runtime/reflect/opt/Injector.class=com.sun.xml.bind.v2.runtime.reflect.opt.Injector
META-INF/versions/9/com/sun/xml/bind/v2/runtime/reflect/opt/AccessorInjector.class=com.sun.xml.bind.v2.runtime.reflect.opt.AccessorInjector
META-INF/versions/9/com/sun/xml/bind/v2/runtime/reflect/opt/OptimizedTransducedAccessorFactory.class=com.sun.xml.bind.v2.runtime.reflect.opt.OptimizedTransducedAccessorFactory
META-INF/versions/9/com/sun/xml/bind/v2/runtime/reflect/opt/OptimizedAccessorFactory.class=com.sun.xml.bind.v2.runtime.reflect.opt.OptimizedAccessorFactory
The text was updated successfully, but these errors were encountered:
Using -fixupmessages does not seem to work, but managed to work around for the source code of the external library, using the maven-shade-plugin and exclude for /META-INF/versions/*.
The packages
jakarta.xml.bind-api v2.3.3
andorg.glassfish.jaxb/jaxb-runtime v2.3.3
seem to be recommended/required to enable JAXB for Java 11.However, OH, using
biz.aqute.bnd:bnd-maven-plugin:5.1.2:bnd-process
fails to build when the mentioned packages are included as dependencies in binding pom.xml. Probably due to the multi-release nature of the packages.Bnd error:
The text was updated successfully, but these errors were encountered: