Is there any way to use maven to generate java classes from an XSD (similar to jaxb2-maven-plugin) but just simply generates pojos without the javax.xml annotations?
You can use XML-Beans. It is fairly easy.
How to include automatically xmlbeans generated code into maven jar?
http://mojo.codehaus.org/xmlbeans-maven-plugin/
Please refer to this for further clarification - http://blog.bdoughan.com/2012/01/how-does-jaxb-compare-to-xmlbeans.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With