From ec076c1e0db01fc5e1de4045dffd850cf82632bd Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期六, 29 十月 2022 00:00:00 +0800 Subject: [PATCH] update 优化 单元测试乱码问题 指定运行编码 --- pom.xml | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/pom.xml b/pom.xml index e9a611c..40a88cc 100644 --- a/pom.xml +++ b/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> <!-- 鎺掗櫎鏍囩 --> -- Gitblit v1.9.3