You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2018/06/11 19:19:00 UTC

[jira] [Moved] (CXFXJC-26) cxf-xjc-plugin generated source encoding problem

     [ https://issues.apache.org/jira/browse/CXFXJC-26?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp moved CXF-7755 to CXFXJC-26:
----------------------------------------

    Estimated Complexity:   (was: Unknown)
             Component/s:     (was: JAXB Databinding)
                          Maven Plugin
                     Key: CXFXJC-26  (was: CXF-7755)
                 Project: CXF XJC Utils  (was: CXF)

> cxf-xjc-plugin generated source encoding problem
> ------------------------------------------------
>
>                 Key: CXFXJC-26
>                 URL: https://issues.apache.org/jira/browse/CXFXJC-26
>             Project: CXF XJC Utils
>          Issue Type: Bug
>          Components: Maven Plugin
>         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
>            Priority: Minor
>              Labels: i18n
>
> 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)