From 1be32d0283d4fc73e10d16a3b07cfdcd2aa14a9d Mon Sep 17 00:00:00 2001 From: "everywhere.z" Date: Mon, 29 Jun 2026 00:34:03 +0800 Subject: [PATCH] =?UTF-8?q?chore(build):=20surefire=20skipTests=20?= =?UTF-8?q?=E6=94=B9=E7=94=A8=20${skipTests}=20=E4=BB=A5=E6=94=AF=E6=8C=81?= =?UTF-8?q?=20-DskipTests=3Dfalse=20=E8=A6=86=E7=9B=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 根 pom 原硬编码 true(字面量),导致命令行 -DskipTests=false 无法覆盖、测试恒被跳过。改为属性占位符并在 properties 设默认 true:默认行为不变(仍跳过),但开发时可用 -DskipTests=false 运行。 这与 MEMORY.md 记录的预期机制一致。 Co-Authored-By: Claude Fable 5 --- pom.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index ab4c5a3b4..54e864539 100644 --- a/pom.xml +++ b/pom.xml @@ -40,6 +40,7 @@ 2.16.0 + true UTF-8 UTF-8 8 @@ -404,7 +405,7 @@ maven-surefire-plugin 3.5.3 - true + ${skipTests}