XMLBeans will not consider the project.build.sourceEncoding property when generating source files -------------------------------------------------------------------------------------------------
Key: MXMLBEANS-68 URL: http://jira.codehaus.org/browse/MXMLBEANS-68 Project: Maven 2.x Xmlbeans Plugin Issue Type: Improvement Affects Versions: 2.3.3 Reporter: Hans Peter Attachments: Patch_to_make_XML_Beans_output_source_files_with_correct_encoding_.patch There is no way to set the encoding of the generated source files generated by the xmlbeans-maven-plugin I work in an environment with both PCs and Macs, we have decided to use UTF-8 as the encoding for the project and have set the <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties> Property in our project. The xmlbeans plug-in seems to not care about this setting and always outputs files according to the native character set on the OS. I supply a patch that adds a new optional configuration parameter "encoding" that will have the default value of the project.build.sourceEncoding property. When this parameter is set the generated source output directory will be searched for *.java files and character set conversion will take place from the native encoding to the specified encoding. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email