nilsmagnus / wsdl2java

Gradle plugin for generating java source from wsdl files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature request: support JAXB 3.0

agusmba opened this issue · 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!

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?)