-
Notifications
You must be signed in to change notification settings - Fork 42
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
Mapping of old Java EE artifacts to new Jakarta artifacts #205
Comments
have you tried https://github.com/highsource/jaxb2-basics ? |
I have.
|
Here are dependencies I have currently, which seems to be the closest but which leads to that above exception
|
why
are not at the same version? I'm not saying that will help, just that it looks strange to me. There are two things I'd check/try:
|
note that jaxb2-basics (formerly jaxb2-commons project at java.net) has been community driven with no involvement of the jaxb(-ri) team since its beginning - if my memory works well after those ~15 years... |
Just an oversight as I have been trying combinations. As you said, no difference. I know its complicated, but its super frustrating to continually run into these kind of situations trying to migrate to Jakarta EE. Its not like |
I agree with you. We just have to deal with current situation somehow.... There is that Eclipse Transformer project, some similar alternative from Apache but I don't think they help in this case. An option could be to backport fix for eclipse-ee4j/jaxb-ri#1475 with reverted logic to 2.x version (EE8 branch) - add sth '-target 3.0' to generate 'jakarta'-ready code. The thing is that the code generated by plugins probably won't compile, so one would have to do some post-processing after running xjc. Just thinking loud... |
I played around and got a working version of jaxb2-basics. Actually did not really even take much change. |
Sorry when highjacking this issue, but there seems to be some expertise here about the topic. I have projects which use the plugins from https://github.com/javaee/jaxb2-commons together with the Apache CXF XJC Plugin (https://github.com/apache/cxf-xjc-utils/tree/master/cxf-xjc-plugin). The later has been upgraded to JavaEE9 (Jakarta.*) recently. But the last commit in https://github.com/javaee/jaxb2-commons has is dated back to 2017. Is there any successor to this project which I have missed? Update: The basics plugin in https://github.com/javaee/jaxb2-commons seems to be the predecessor of the Highsource https://github.com/highsource/jaxb2-basics plugin. |
I upgraded the other jaxb2-commons plugins in javaee/jaxb2-commons#46. Actually no big changes necessary besides the obvious dependency upgrades. |
Hi everyone Keep updated, release will be soon available |
See highsource/jaxb2-basics#167 merged into master |
Would be awesome if there were an actual mapping of artifacts from Java EE -> Jakarta EE.
E.g. after hours of looking I am unable to determine how to convert a build that works perfectly well with Java EE XJC, but no idea what the related Jakarta artifacts are.
Specifically having trouble with
Though I've only gotten this far after hours of trying to track down how to achieve this in Jakarta EE.
The text was updated successfully, but these errors were encountered: