Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wixgen-jaxb failure on german windows #2

Open
ecki opened this issue Jun 9, 2018 · 1 comment
Open

wixgen-jaxb failure on german windows #2

ecki opened this issue Jun 9, 2018 · 1 comment

Comments

@ecki
Copy link

ecki commented Jun 9, 2018

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

@akashche
Copy link
Owner

akashche commented Jun 11, 2018

Hi, thanks for the report! From reading on the problem (SO, same issue with another mvn plugin) it seems this really should be fixed inside CXF. Added a note to the readme.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants