mvn test 支持中文字符

mvn test,读取含有中文字符的解决办法:

解决方法一:


	-Dfile.encoding=UTF-8

解决方法二:

 

	
		
			
			
				org.apache.maven.plugins
				maven-surefire-plugin
				2.7.2
				
					once
 					-Dfile.encoding=UTF-8 






				
			
		
	

你可能感兴趣的:(maven)