I try to generate java classes from xsd in a maven project using cxf-xjc-plugin.
It runs fine, but the generated source files get platform specific encoding (cp1251
I could make cxf-xjc-plugin generate sources in UTF-8 by adding the following entry to the xsdOption element:
-encoding UTF-8