<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <!--指定需要跑的单元测试--> <includes> <include>**/*Documentation.java</include> </includes> <!--指定编码,防止控制台乱码--> <argLine>-Dfile.encoding=UTF-8</argLine> </configuration> </plugin>
原文地址:https://www.cnblogs.com/goingforward/p/9508330.html
时间: 2024-10-28 04:42:32