Aleksey Kaigorodov opened MEAR-159 and commented
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.
Affects: 2.8
Attachments:
Issue Links:
- MWAR-164 Support for specifying which encoding to use when filtering resources
Aleksey Kaigorodov opened MEAR-159 and commented
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.
Affects: 2.8
Attachments:
Issue Links: