users@jaxb.java.net

XJC compiler generates XML annotations on field when using the Xpropertyaccessors flag

From: niels.bertram_at_fleurida.com niels.bertram_at_fleurida.com <niels.bertram_at_fleurida.com>
Date: Mon, 3 Oct 2016 10:10:00 -0400 (EDT)

Hi JAXB users,

I was wondering if someone ever tried to use the build-in -Xpropertyaccessors XJC plugin ? I recently tried it and found the generated classes are all invalid.

I created a super simple maven project to demonstrate the issue together with a description of how it should work.

https://github.com/bertramn/xjc-property-accessor-issue

I find that using JAXB bejond the simple car insurance example is a royal pain. There are so many issues with the generation and runtime :(

Any help would be much appreciated.

Many thanks,

Niels