Bernd Eckenfels created CXF-7755:
------------------------------------
Summary: cxf-xjc-plugin generated source encoding problem
Key: CXF-7755
URL: https://issues.apache.org/jira/browse/CXF-7755
Project: CXF
Issue Type: Bug
Components: JAXB Databinding
Environment: Apache Maven 3.2.5
(12a6b3acb947671f09b81f49094c53f426d8cea1; 2014-12-14T18:29:23+01:00)
Maven home: C:\devenv\apache-maven-3.2.5
Java version: 1.8.0_162, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk1.8.0_162\jre
Default locale: en_DE, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "dos"
Reporter: Bernd Eckenfels
When using cxf-xjc-plugin:3.1.0:xsdtojava on my german Windows 10 the
generated source code uses german language comments with the word "für"
(umlaut). The source seems to be in latin1 whereas the project is configured to
use UTF-8 source encoding. For this reason the following processing steps
(compiler warn and javadoc error) fail because of invalid UTF-8 sequences. It
should allow to define the encoding and default to the maven.source.encoding. I
also did not find a way to actually generate english comments
(MAVEN_OPTS=-Duser.language=en does help).
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)