Uploaded image for project: 'CXF XJC Utils'
  1. CXF XJC Utils
  2. CXFXJC-26

cxf-xjc-plugin generated source encoding problem

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.2.2
    • Maven Plugin

    Description

      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).

      Attachments

        Activity

          People

            dkulp Daniel Kulp
            b.eckenfels Bernd Eckenfels
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: