[WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent!
Saw this warning message when using failsafe maven plugin, found the fix after a little search.
In the pom file, add the following property inside the <properties> section.
<properties> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> </properties>