Closed ASunc closed 6 months ago
It is also actual for us. We try to migrate our project from Java EE to Jakarta EE and need to have java classes with jakarta.* annotations generated from XML. Do you have some plans to make the plugin compatible with Jakarta EE
There is fork at https://github.com/aspan/jaxb2-rich-contract-plugin which works for jakarta.* namespace for me.
Thank you, I'll try
@ASunc and @nvakulenko : did you manage to get this working with jaxb3 or jaxb4 ?
The maven-plugin used here in the example should be at least updated for jaxb3 and jaxb4 support : see home repository and migration guide to get the latest version 😁
JAXB 4 support will be there in version 4.0.0, along with different plugin command line argument handling. 4.0.0 is currently in ALPHA stage and there isn't a binary release yet, but it will come soon.
Fixed in Version 4.0.0
Attempt to use fluent builder (ie. -Xfluent-builder) with xjc coming with jaxb 3.0.1 results in error:
"unrecognized parameter -Xfluent-builder".
Would be nice if these plugins were supported with 3.0 versions also.