embedding xmlelement tags in classes generated by jaxb and xjc
posted 3 years ago
Eclipse/Maven with jaxb2-maven-plugin 1.3 in pom . The pom has two profiles, one using schemagen and the other xjc, so I can marshall and unmarshall. But my java classes generated by xjc do not have xmlelements associated with each java class attribute.
In other words, what I get now in my generated class is
and what I'd like to get is
How do I go about achieving that? Do I need to add something to my bindings.xjb ? and if so what?