Convince jaxb2-maven-plugin schemagen to generate an episode file

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Convince jaxb2-maven-plugin schemagen to generate an episode file

Benjamin Abernathy
Hello all,

The schemagen tool provided with JAXB 2.1 allows you to have it generate
an episode file using a command similar to:

schemagen -episode product.episode org\example\product\Product.java

Is there a way to tell the jaxb2-maven-plugin schemagen plugin to also
generate an episode file? The documentation located at:

http://mojo.codehaus.org/jaxb2-maven-plugin/schemagen-mojo.html

doesn't seem to address this. However, I did find that
jaxb2-maven-plugin xjc does support the episode parameter by allowing
you to pass free form arguments:

http://mojo.codehaus.org/jaxb2-maven-plugin/xjc-mojo.html

I had hoped there was just an oversight in the documentation and I could
also pass free form arguments to schemagen, but I don't think this is
possible.

Is there any way to have the schemagen plugin generate an episode file?
Any help would be greatly appreciated.

Ben






---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email