On 2 May 2018 at 22:39, Guillaume Smet <guillaume.s...@gmail.com> wrote:
> Hi Sanne,
>
> On Wed, May 2, 2018 at 11:24 PM, Sanne Grinovero <sa...@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)

The org.glassfish stuff is legacy / deprecated. You should use the
groupId javax.xml.bind now.

Great example of the kind of confusion I'd like to avoid every user to have :)

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

That's right, and uses "javax.xml.bind" if you check its sources.

>
> HTH
>
> --
> Guillaume
_______________________________________________
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev

Reply via email to