Explorar el Código

update 优化 单元测试乱码问题 指定运行编码

疯狂的狮子Li hace 2 años
padre
commit
ec076c1e0d
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      pom.xml

+ 1 - 0
pom.xml

@@ -371,6 +371,7 @@
                 <artifactId>maven-surefire-plugin</artifactId>
                 <version>2.22.2</version>
                 <configuration>
+                    <argLine>-Dfile.encoding=UTF-8</argLine>
                     <!-- 根据打包环境执行对应的@Tag测试方法 -->
                     <groups>${profiles.active}</groups>
                     <!-- 排除标签 -->