diff --git a/amoro-ams/amoro-ams-server/pom.xml b/amoro-ams/amoro-ams-server/pom.xml
index a959d6d567..f6c86ee5eb 100644
--- a/amoro-ams/amoro-ams-server/pom.xml
+++ b/amoro-ams/amoro-ams-server/pom.xml
@@ -34,6 +34,10 @@
Amoro Project AMS Server
https://amoro.apache.org
+
+ false
+
+
org.apache.amoro
@@ -415,8 +419,8 @@
- false
- false
+ ${git-commit-id-plugin.fail-on-no-git-dir}
+ ${git-commit-id-plugin.fail-on-no-git-dir}
${project.basedir}/.git
true
@@ -491,5 +495,11 @@
+
+ fail-on-no-git-dir
+
+ true
+
+