diff --git a/.gitignore b/.gitignore
index c588baf7c..689a7a80b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,4 +9,5 @@
*.iml
/hg-pd-common/target_B000000405016P_Oct-28-114458-2021_conflict_parent/
-dist/
\ No newline at end of file
+dist/
+.flattened-pom.xml
diff --git a/hg-pd-client/pom.xml b/hg-pd-client/pom.xml
index 9e1c81694..194e7dde2 100644
--- a/hg-pd-client/pom.xml
+++ b/hg-pd-client/pom.xml
@@ -25,7 +25,8 @@
org.apache.hugegraph
hugegraph-pd-root
- 3.6.5-SNAPSHOT
+ ${revision}
+ ../pom.xml
hg-pd-client
diff --git a/hg-pd-clitools/pom.xml b/hg-pd-clitools/pom.xml
index fa9054bf3..c0a3009e1 100644
--- a/hg-pd-clitools/pom.xml
+++ b/hg-pd-clitools/pom.xml
@@ -22,7 +22,8 @@
hugegraph-pd-root
org.apache.hugegraph
- 3.6.3-SNAPSHOT
+ ${revision}
+ ../pom.xml
4.0.0
@@ -31,7 +32,7 @@
org.apache.hugegraph
hg-pd-client
- 3.6.5-SNAPSHOT
+ ${revision}
junit
diff --git a/hg-pd-common/pom.xml b/hg-pd-common/pom.xml
index 2e6b24ab9..7732b0f58 100644
--- a/hg-pd-common/pom.xml
+++ b/hg-pd-common/pom.xml
@@ -24,7 +24,8 @@
org.apache.hugegraph
hugegraph-pd-root
- 3.6.5-SNAPSHOT
+ ${revision}
+ ../pom.xml
hg-pd-common
diff --git a/hg-pd-core/pom.xml b/hg-pd-core/pom.xml
index e4c0aaa42..8963680d2 100644
--- a/hg-pd-core/pom.xml
+++ b/hg-pd-core/pom.xml
@@ -24,7 +24,8 @@
org.apache.hugegraph
hugegraph-pd-root
- 3.6.5-SNAPSHOT
+ ${revision}
+ ../pom.xml
hg-pd-core
@@ -36,7 +37,8 @@
com.alipay.sofa
jraft-core
- 1.3.9-hg-SNAPSHOT
+
+ 1.3.9
org.rocksdb
diff --git a/hg-pd-dist/pom.xml b/hg-pd-dist/pom.xml
index 16be298fe..602ba4f6b 100644
--- a/hg-pd-dist/pom.xml
+++ b/hg-pd-dist/pom.xml
@@ -22,7 +22,8 @@
hugegraph-pd-root
org.apache.hugegraph
- 3.6.5-SNAPSHOT
+ ${revision}
+ ../pom.xml
4.0.0
diff --git a/hg-pd-grpc/pom.xml b/hg-pd-grpc/pom.xml
index 41308bacb..0c5cff10d 100644
--- a/hg-pd-grpc/pom.xml
+++ b/hg-pd-grpc/pom.xml
@@ -25,7 +25,8 @@
org.apache.hugegraph
hugegraph-pd-root
- 3.6.5-SNAPSHOT
+ ${revision}
+ ../pom.xml
hg-pd-grpc
diff --git a/hg-pd-service/pom.xml b/hg-pd-service/pom.xml
index 38906fdf6..4a027fbbc 100644
--- a/hg-pd-service/pom.xml
+++ b/hg-pd-service/pom.xml
@@ -24,7 +24,8 @@
org.apache.hugegraph
hugegraph-pd-root
- 3.6.5-SNAPSHOT
+ ${revision}
+ ../pom.xml
hugegraph-pd
@@ -112,7 +113,13 @@
org.apache.hugegraph
hugegraph-common
- 1.8.12
+ 1.0.1
+
+
+ commons-io
+ commons-io
+ 2.7
+ compile
diff --git a/hg-pd-test/pom.xml b/hg-pd-test/pom.xml
index d6f29a329..0371e8163 100644
--- a/hg-pd-test/pom.xml
+++ b/hg-pd-test/pom.xml
@@ -23,6 +23,7 @@
org.apache.hugegraph
hugegraph-pd-root
${revision}
+ ../pom.xml
4.0.0
diff --git a/pom.xml b/pom.xml
index f29ff1c3b..884495320 100644
--- a/pom.xml
+++ b/pom.xml
@@ -110,6 +110,31 @@
+
+ org.codehaus.mojo
+ flatten-maven-plugin
+ 1.2.7
+
+ true
+ resolveCiFriendliesOnly
+
+
+
+ flatten
+ process-resources
+
+ flatten
+
+
+
+ flatten.clean
+ clean
+
+ clean
+
+
+
+