Skip to main content

Using jaxb2-basics plugin with XJC and generateCode method

Please note these forums are being decommissioned and use the new and improved forums at
No replies
Joined: 2013-12-11


does anyone has an example about applying jaxb2-basics plugin in order to generate hashcode and equals methods into java generated classes.

I'm abble to use maven plugin to do that but i miss a piece of code to build the plugin array to pass to the method
JCodeModel jCodeModel = model.generateCode(Plugin[] arg0, ErrorListener arg1);

Thanks for your help