highsource / jaxb-tools

The most advanced JAXB2 Maven Plugin for XML Schema compilation.
Other
425 stars 98 forks source link

Update documentation for javax -> jakarta migration #232

Open mattrpav opened 2 years ago

mattrpav commented 2 years ago

We need to update the documentation to support two sections:

javax jakarta

ssill2 commented 2 years ago

I have a pretty busy week this week. I'll try to tackle this over the weekend. In which document am I adding this? I have one remaining issue with my migration and this is more with using returning jaxb annotated classes in jaxrs annotated REST endpoints. While this is not related to the plugin, it is part of the the migration of my app and it might help others if I can figure out the right recipe for deps to get it all to work.

ssill2 commented 2 years ago

I finally got my last problem solved. it's now fully java17 yay. the version of resteasy in wildfly 26, v4.7.4, doesn't deal with the jakarta classes fully yet, that' not until v5 of resteasy. I end up implementing a simple workaround. I'm just waiting on bitnami/wildfly docker image to be updated to be java17. They were helpful and told me how to build my own that was based on java17 so I could test. Were you wanting me to update the wiki?

dan-lind commented 2 years ago

Any progress on this?

ssill2 commented 2 years ago

I did end up getting things working. See my comments in the following issue https://github.com/highsource/maven-jaxb2-plugin/issues/206#issuecomment-1103174594

What I needed to do to get it working my case is documented there. The switch to 17 in general was a bit of a pain since a lot of thing besides are in that half-pregnant state. I found the javax.mail to jakarta.mail migration to be problematic also. I'm expecting things to get easier as more frameworks and libs are updated.

mattrpav commented 1 year ago

v4.0.0 being prepared for release. Leaving this open to adjust documentation as needed. Plan to close this ticket out in v4.0.1