-
Notifications
You must be signed in to change notification settings - Fork 18
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
version of jaxb-xjc #27
Comments
gradle-xjc-plugin/build.gradle.kts Line 65 in 82c1d69
gradle-xjc-plugin/src/main/kotlin/org/unbrokendome/gradle/plugins/xjc/XjcPlugin.kt Line 42 in 82c1d69
And It is not configurable. |
Attempted and failed using the xjcTool xjcTool 'com.sun.xml.bind:jaxb-xjc:4.0.1' Caused by: java.lang.IllegalStateException: Cannot handle XJC version: 4.0 |
At this time (version 2.0.0), I can generate and compile JAXB for newer versions with:
Unfortunately you can not do the same for v4 due to a coded version block, which I'll attempt to create a PR to remove. Use gradle with --info for additional information to confirm versions in use. The documentation indicates when specifying The documentation does indicate that when something is present in It maybe good to spell out this somewhere in documentation, since that is probably a common requirement as time moves on to lower maintenance burden. HTH |
All the matters reported here should be addressed in PR #47 (XJC tool version compatibility with 3.x and 4.x in the jarkarta era) |
I have migrated from this repository to writing my own jaxb code how it is described in this old blog post --> https://roytuts.com/generating-jaxb-classes-from-xsd-using-gradle/ I have full controll over the jaxb version I am using and I am not depending on this project. The solution described in the tutorial is simple and works with spring boot 3 and java 17. |
could you please upgrade:
jaxb-xjc:3.0.0-M4
to:
jaxb-xjc:3.0.0
?
I think the jaxb-xjc:3.0.0 is more official than 3.0.0-M4. And it contain some feature I need.
The text was updated successfully, but these errors were encountered: