mojohaus / jaxb2-maven-plugin

JAXB2 Maven Plugin
https://www.mojohaus.org/jaxb2-maven-plugin/
Apache License 2.0
106 stars 77 forks source link

Specify the name of the generated XSD? #128

Closed amihaiemil closed 5 years ago

amihaiemil commented 5 years ago

We are currently playing around with this plugin and it seems to work fine, the file schema1.xsd is being generated.

However, I would like it to have a different name and I cannot seem to find any configuration for it. Is it possible to have the file generated with a given name/

lennartj commented 5 years ago

Refer to

https://www.mojohaus.org/jaxb2-maven-plugin/Documentation/v2.3.1/example_schemagen_postprocessing.html