需要在pom中的properties中增加一行配置:
<properties> <argLine>-Dfile.encoding=UTF-8</argLine> </properties>
或者是新增一个环境变量 MAVEN_OPTS :-Xms256m -Xmx512m -Dfile.encoding=UTF-8。
Myeclipse 运行maven控制台中文乱码
原文:http://www.cnblogs.com/tq03/p/4108673.html