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?
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: embedding xmlelement tags in classes generated by jaxb and xjc