Closed lennartj closed 5 years ago
Hi there!
When will 2.5.0 be released on maven central?
We are running 2.4.0 with some weird workaround to get it working on Java 11.
Following the 72 hour voting process, the plugin was released to maven central today. If you are reading this, give the push process a few hours to actually move the components and update the caches.
... but you should be able to use it today.
Is there any example how to use jaxb2-maven-plugin to generate classes using the jakarta.xml.bind
API? From this ticket I assumed is is enough to use the 2.5.0 version of the plugin but I still get javax.xml.bind.annotation
clases generated.
Is there any example how to use jaxb2-maven-plugin to generate classes using the
jakarta.xml.bind
API? From this ticket I assumed is is enough to use the 2.5.0 version of the plugin but I still getjavax.xml.bind.annotation
clases generated.
I could only solve it by switching to a fork that supports the jakarta.xml.bind
API:
I hope the original will support it soon.
how to generate classes using jakarta. ? now generated source alse using javax.
See #183
Jakarta is the new home for JavaEE
Hence, the Jaxb2 plugin should use Jakarta, rather than old-style JAXB dependencies. This is documented at The Jakarta EE Wiki.
This also implies that we will require projects compiling JAXB artifacts to add an extra dependency, since the JAXB-api classes should not be fetched from the JDK anymore. This dependency is shown below - with the only currently released version being 2.3.2: