-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate JAXB module to Jakarta EE 9 #96
Comments
Any idea when a beta version may be built that supports this? Been trying to test some of the other project that do have alpha support for the change... but lots of chicken-or-the-egg problems in getting an entire env up and running. |
@darmbrust have a look at PR itself, #95 -- not sure if and when this could proceed. Probably not for 2.12, it seems? |
As far as I can see, all related artifacts are finally converted / released with the new jakarta namespace. Please convert also jackson-module-jaxb-annotation . Thanks, |
@chris21k Yes, I think JAX-RS modules are dual-published now to allow choice of old/new jax-ws package. https://repo1.maven.org/maven2/com/fasterxml/jackson/module/jackson-module-jaxb-annotations/2.12.0/ so that with classifier of |
@cowtowncoder Many thanks for the hint: using jackson-module-jaxb-annotations-2.12.0-jakarta.jar instead of jackson-module-jaxb-annotations-2.12.0.jar works. I have overlooked the existence of that file, sorry fir that. However, I am somehow surprised, that there are two different jars, as there are'nt two different jars neither for jackson 2.12.0 core under https://repo1.maven.org/maven2/com/fasterxml/jackson/core/ nor for (some/all?) other modules under https://repo1.maven.org/maven2/com/fasterxml/jackson/module/ . These libraries seem to use only the new name space in their new version 2.12 . Probably, I was misled further since this bug entry is still open. |
@chris21k I am not sure why there should be multiple jars of Only modules that rely on JAX-xxx dependencies require this workaround: JAXB annotations module, and JAX-RS provider modules; and they in turn are not depended on by other Jackson modules -- with one minor exception (jackson-dataformat-xml does have dependency to jaxb annotations module). This bug entry is open, for now, since it is possible that at some point we might want to convert this module to only rely on Jakarta versions. Or perhaps it should be closed -- the whole issue is quite new, and the situation with Jakarta packages looks like classic FUBAR problem for short term at least, so ... we'll see. :) |
Solved for 2.13 by #130: separate module now |
Jakarta EE 9 platform renames all the "old" namespaces from javax.* to jakarta.*. This pull request performs this migration so that when Jacakrta EE 9 is released in June 2020 it will be compatible. Initial PR in #95.
The text was updated successfully, but these errors were encountered: