how to set platform encoding to utf-8 to copy filtered resources java code example
Example: File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
</properties>