diff --git a/examples/sonataflow-greeting-quarkus-example/pom.xml b/examples/sonataflow-greeting-quarkus-example/pom.xml
index f6d5b0f7312..01422e126c2 100644
--- a/examples/sonataflow-greeting-quarkus-example/pom.xml
+++ b/examples/sonataflow-greeting-quarkus-example/pom.xml
@@ -97,7 +97,6 @@
maven-failsafe-plugin
- ${version.failsafe.plugin}
org.jboss.logmanager.LogManager
diff --git a/packages/maven-base/pom.xml b/packages/maven-base/pom.xml
index 157bd22bea4..15b6d285966 100644
--- a/packages/maven-base/pom.xml
+++ b/packages/maven-base/pom.xml
@@ -211,6 +211,11 @@
maven-compiler-plugin
${version.maven.compiler.plugin}
+
+ org.apache.maven.plugins
+ maven-failsafe-plugin
+ ${version.maven.failsafe.plugin}
+
org.apache.maven.plugins
maven-clean-plugin
diff --git a/packages/maven-config-setup-helper/index.js b/packages/maven-config-setup-helper/index.js
index 092681d0320..20736c9a58c 100755
--- a/packages/maven-config-setup-helper/index.js
+++ b/packages/maven-config-setup-helper/index.js
@@ -96,7 +96,7 @@ module.exports = {
if (fs.existsSync(resolvedTmpM2Dir)) {
fs.rmSync(resolvedTmpM2Dir, { recursive: true, force: true });
}
- fs.mkdirSync(resolvedTmpM2Dir);
+ fs.mkdirSync(resolvedTmpM2Dir, { recursive: true });
// head
execSync(`cp -nal ${DEFAULT_LOCAL_REPO}/* ${resolvedTmpM2Dir}`, { stdio: "inherit" });