rackerlabs / gradle-jaxb-plugin

Gradle plugin to ease projects that use xsds and the ant jaxb task
GNU General Public License v2.0
34 stars 21 forks source link

Create a schemagen task to replace the schemagen command line tool. #39

Open swpalmer opened 6 years ago

swpalmer commented 6 years ago

Create a schemagen task to replace the schemagen command line tool that is removed in Java 11.

JAXB is very hard to use with Java 11 because not only are the modules not there, but the tools are not even produced anymore. Documentation on how to run schemagen with Java 11 is very disappointing. The tools are apparently available as maven artifacts, but not the launch scripts. A JAXB plugin that offers tasks for all the JAXB functionality removed in Java 11 would be a tremendous help.

wdschei commented 6 years ago

Thanks for the suggestion on this. We are getting ready to migrate our main project out of the Java 8 land and will be updating this plugin to play happily as well. We haven't investigated this at all from this plugin's perspective yet, so we will definitely be trying to figure out the best way forward. Any suggestions are more than welcome.