Skip to content

wixgen-jaxb failure on german windows #2

@ecki

Description

@ecki

When building wixgen on my german windows it fails in the Javadoc step because the generated source contain a comment with a german text "für" with a ISO 8859-1 umlaut and it complains this is not a valid UTF-8 sequence.

Looks like the code generator needs to be told to use UTF-8 or the locale should be fixed to en (or both).

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.10.4:jar (attach-javadoc) on project wixgen-jaxb: MavenReportException: Error while generating Javadoc:
[ERROR] Exit code: 1 - C:\ws\github\wixgen\wixgen-jaxb\target\generated\src\main\java\com\redhat\akashche\wixgen\jaxb\ActionModuleSequenceType.java:19: error: unmappable character for encoding UTF-8
[ERROR] * <p>Java-Klasse f?r ActionModuleSequenceType complex type.
... many more ....

I reported this also to the CXF project: https://issues.apache.org/jira/browse/CXF-7755

There is a workaround to use set MAVEN_OPTS=-Duser.langage=en" (specifying -D on maven launcher command line is not enough).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions