Hi there everyone, So I am the guy that submitted the PR to add support for JAXB 3 support.
Indeed, as a few have already pointed out, JAXB 3 support is not drop-in compatible with 2.x.y versions, as the package namespace has changed now that newer versions of J2EE and JAXB have been moved out of the JDK itself. I perhaps did not make that clear enough in my PR. However, I don't think there will likely be any more 2.x.y versions of JAXB coming along. So perhaps it is safe to say that the previous versions of your excellent jaxb2-maven-plugin which were number 2.x.x were for JAXB 2, and versions numbered 3.x.x are for JAXB 3? Obviously that would need to be made clear in the docs. I also might suggest that either 1) dropping the "2" from the name, or 2) renaming to jaxb3-maven-plugin might help users understand. Anyway, sorry if I caused any issues for you all. I really just wanted to help out get JAXB 3 support going as I could not find any plugin that supported it. Kind regards. Adam. On Sunday, 31 January 2021 at 08:24:07 UTC+1 [email protected] wrote: > Hi. If I am reading it right, the new version only works with JAXB 3.0.0 + > (Jakarta namespaces) and old versions then with 2.x.y versions (with > Javax namespaces). > > Like discussed in the Github issue, renaming the artifact to not contain > the number "2" would make sense, but I suppose this will do also as long as > the docs are updated to address the issue at some point. > sunnuntai 31. tammikuuta 2021 klo 8.17.12 UTC+2 [email protected] > kirjoitti: > >> Hello all, >> >> I'd like to release version 3.0.0 of the jaxb2-maven-plugin. >> >> We fixed 2 issues within the plugin since the last release: >> >> Issue list: >> https://github.com/mojohaus/jaxb2-maven-plugin/issues?q=is%3Aclosed+milestone%3A%22Release+3.0%22 >> >> Plugin Documentation: >> https://www.mojohaus.org/jaxb2-maven-plugin/Documentation/v3.0.0/index.html >> >> Staging Repository: https://oss.sonatype.org/content/groups/staging/ >> >> Vote passed by lazy consensus after 48H >> >> [ ] +1 >> [ ] +0 >> [ ] -1 >> >> Cheers >> >> -D >> >> >> -- You received this message because you are subscribed to the Google Groups "mojohaus-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/mojohaus-dev/b0e3e32e-ef47-4d75-9ecc-f7400f6d8a29n%40googlegroups.com.
