wsdl2java icon indicating copy to clipboard operation
wsdl2java copied to clipboard

Feature request: support JAXB 3.0

Open agusmba opened this issue 4 years ago • 2 comments

I'm aware this project is not being actively maintained, but the more active forks don't have open issues, so I'm opening it here in the hopes of reaching a broader audience.

From Jaxb's release pages:

New release for Jakarta EE 9. Adopts new API package namespace jakarta.xml.bind.*.

However this plugin still uses their 2.3.x versions, and generates code with the old namespace.

In addition to checking if JVM is v9 compatible to add extra dependencies, a prior check for JVM 11+ could be made to add the newer dependencies with the new namespaces (which would hopefully generate code with the new namespace)

Thanks to all involved in making this plugin!

agusmba avatar Nov 17 '21 12:11 agusmba

https://github.com/yupzip/wsdl2java/pull/5

rowi1de avatar Jan 19 '22 00:01 rowi1de

Thanks! Looking at the code, if we're on java 11 for example, we should add the newer dependencies in gradle and the wsdl2java plugin will use them? (will it find them since the packaging is different?)

agusmba avatar Jan 19 '22 14:01 agusmba