set encoding maven 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>