[hibernate-dev] Depending on JAXB / JDK11 compatibility

Christian Beikov christian.beikov at gmail.com
Wed May 2 16:30:30 EDT 2018


+1 for listing the API dependency "javax.xml.bind:jaxb-api". Not sure 
about the implementation though, maybe we can use 
"com.sun.xml.bind:jaxb-impl" as an optional dependency?


Mit freundlichen Grüßen,
------------------------------------------------------------------------
*Christian Beikov*
Am 02.05.2018 um 20:38 schrieb Sanne Grinovero:
> With JAXB being part of the JDK in Java 8, Hibernate ORM doesn't list
> it as a runtime dependency.
>
> Java 9 users have been suggested to use the JVM option "--add-modules
> java.xml.bind" to avoid the JVM hiding the JAXB library from
> classpath.
>
> With Java 11 the java.xml.bind is no longer available; what should we
> suggest to users?
>
> Should we list it as an explicit dependency in the released pom files?
>
> Thanks,
> Sanne
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev



More information about the hibernate-dev mailing list