users@jaxb.java.net

XJC Simple Binding and Maven

From: <nsowatsk_at_cisco.com>
Date: Mon, 21 Nov 2011 16:31:04 +0000 (GMT)

Hi

JAXB is cool, many thanks for that.

I have been experimenting with the simple binding, which works as I
want, but I have to change my XSDs to get it to work, which is not what
I want.

I would have thought that I could pass an argument to the XJC compiler
to turn on the simple binding, as I can at the CLI, but it is not
obvious how to do that via the Maven plugin.

So, does anyone know the magic incantation of XML in the pom.xml will
turn on simple binding for XJC please?

Many thanks again.

Nathan