Problem: File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent!
[WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependentCause: Encoding of the source files is not set.
Solution: Set the encoding of the source files.
pom.xml
<project>
...
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
...
</project>
3 comments:
thank you! the post is very usefull and straight to the point.
Thanks a ton. It worked for me!!
for more users can find this link usefull. more on this
Post a Comment