maven picking these values from Java system properties. Here is how you could set encoding:
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
Or:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<configuration>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
Or pass parameter to maven command line:
mvn -Dproject.build.sourceEncoding=UTF-8
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…