Skip to content

[MEAR-159] encoding when filtering resources #338

@jira-importer

Description

@jira-importer

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

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions