Alex Kaigorodov created MEAR-159: ------------------------------------ Summary: encoding when filtering resources Key: MEAR-159 URL: https://jira.codehaus.org/browse/MEAR-159 Project: Maven 2.x Ear Plugin Issue Type: Improvement Affects Versions: 2.8 Reporter: Alex Kaigorodov Attachments: maven-ear-plugin-test-project-resources-encoding.zip
Resources of our ear project contain non-ascii characters. This xml-files in windows-1251. We use filtering resources when building ear. Building in the dev environment (Windows, file.encoding = Cp1251) goes well. The build at the CI-server (Linux, file.encoding = UTF-8) non-ascii characters in xml-files are replaced with a sequence of bytes 'efbfbd'. It would be convenient to be able to specify the encoding for the ear resources, similar to how we can do it in the maven-resources-plugin. Sample project attached. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira