[MWAR-450] ISO-8859-1 properties files get changed into UTF-8 when fi… by dennisl · Pull Request #22 · apache/maven-war-plugin (original) (raw)

…ltered.

https://issues.apache.org/jira/browse/MWAR-450

The fix for this issue is similar to MRESOURCES-171. We have added a configuration parameter called propertiesEncoding to the Mojo. If it is not specified it will not be used. Under the hood maven-filtering has been updated to 3.2.0 to be able to use the propertiesEncoding feature in it. maven-shared-utils is also updated to match the version in maven-filtering.

An integration test MWAR-450 has been added to cover the use case described in JIRA. There is already another integration test called web-resources-filtering that covers the behavior prior to this patch.

[ X ] I hereby declare this contribution to be licenced under the Apache License Version 2.0, January 2004

[ X ] I am a commiter for the Apache Software Foundation