On Wed, May 2, 2018 at 11:50 PM, Sanne Grinovero <sa...@hibernate.org>
wrote:

> 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.
>

Maybe my quote wasn't clear enough but I was talking about the impl (the
jaxb-impl I quoted), not the API.

See
https://github.com/javaee/jaxb-v2/blob/master/jaxb-ri/runtime/impl/pom.xml .

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

And to have some fun, take a look at the Maven coordinates of the parent of
the above link :).

> JAXB is currently maintained here: https://javaee.github.io/jaxb-v2/.
>
> That's right, and uses "javax.xml.bind" if you check its sources.
>

For the API, not the runtime/impl.

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

Reply via email to