[hibernate-dev] Depending on JAXB / JDK11 compatibility

Guillaume Smet guillaume.smet at gmail.com
Wed May 2 17:39:56 EDT 2018


Hi Sanne,

On Wed, May 2, 2018 at 11:24 PM, Sanne Grinovero <sanne at hibernate.org>
wrote:
>
> <!-- All replacements for JAXB -->
> <dependency>
>     <groupId>javax.xml.bind</groupId>
>     <artifactId>jaxb-api</artifactId>
>     <scope>provided</scope>
> </dependency>

<dependency>
>     <groupId>com.sun.xml.bind</groupId>
>     <artifactId>jaxb-impl</artifactId>
>     <scope>test</scope>
> </dependency>
>

Not sure where you got these dependencies.

I think the one we should use is the following:
<groupId>org.glassfish.jaxb</groupId>
<artifactId>jaxb-runtime</artifactId>
(which comes with quite a few transitive dependencies unfortunately)

JAXB is currently maintained here: https://javaee.github.io/jaxb-v2/.

HTH

-- 
Guillaume


More information about the hibernate-dev mailing list