How to configure encoding in maven
Posted
by Ethan Leroy
on Stack Overflow
See other posts from Stack Overflow
or by Ethan Leroy
Published on 2010-06-10T19:20:28Z
Indexed on
2010/06/10
19:22 UTC
Read the original article
Hit count: 428
When I run maven install
on my multi module maven project I always get the following output:
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
So, I googled around a bit, but all I can find is that I have to add
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
to my pom.xml. But it's already there (in the parent pom.xml).
Configuring <encoding>
for the maven-resources-plugin or the maven-compiler-plugin also doesn't fix it. So what's the problem?
© Stack Overflow or respective owner