You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 21, 2022. It is now read-only.
Adding source encoding to a POM:
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Causes wsimport to fail:
[INFO] jaxws:wsimport args: [-keep, -s, 'C:<source>\trunk\target\generated-sources\wsimport', -d, 'C:<source>\trunk\target\classes', -verbose, -encoding, UTF-8, -extension, -Xnocompile, -target, 2.1, -b, 'C:<source>\trunk\src\main\resources\jaxb2Bindings.xjb', "file:/C:/
Pom build plugin section:
org.jvnet.jax-ws-commons
jaxws-maven-plugin
2.3.1-b03
wsimport
$
{project.build.outputDirectory}/jaxb2Bindings.xjb
${project.build.outputDirectory}
/wsdl
true
2.1
true
You will notice that I have also tried the -Xnocompile just in case that helped, but it didnt.
If the sourceEncoding setting is removed from the POM the incorrect -encoding parameter is not generated and the tool executes ok.
Environment
maven 3.0.4, Win XP & RHEL6, Java 1.7.0_40, jaxws-maven-plugin 2.3 & 2.3.1-b03
Affected Versions
[2.3]
The text was updated successfully, but these errors were encountered: