Please file a bug report, see [1]. As I know there is very limited work on this plugin I strongly encourage you to provide a patch (with an integration test) if you need this fixed.
The problem could also be in the used JAXB toll. In that case upgrading as described in [2] could solve your problem. [1] http://mojo.codehaus.org/jaxb2-maven-plugin/issue-tracking.html [2] http://jira.codehaus.org/browse/MJAXB-61 /Anders On Wed, Oct 9, 2013 at 11:36 AM, Тарасевич Павел <t_pa...@tut.by> wrote: > Hello, > > We have a problem with using org.codehaus.mojo.jaxb2-maven- > plugin for schema generation. We try to integrate Russian words as xml > element names but as a result of schema generation we have decimal NCRs > instead of Russian in xml element names (e.g. <xs:element > name="ВидФормы" > type="xs:string" minOccurs="0"/>). > > Maven use UTF-8 encoding and there is no encoding schema generator > configuration. Element names in java classes are initialized by JAXB > annotations (e.g. @XmlElement(name ="Имя")). > > Thanks, > Pavel >