diff --git a/.gitignore b/.gitignore
index 047de2754..aa22d9532 100644
--- a/.gitignore
+++ b/.gitignore
@@ -21,3 +21,4 @@ site/src/site/sphinx/en/_build
dependency-reduced-pom.xml
pom.xml.versionsBackup
.pmd
+**/.flattened-pom.xml
diff --git a/agent/pom.xml b/agent/pom.xml
index cb27ac059..911717ff7 100644
--- a/agent/pom.xml
+++ b/agent/pom.xml
@@ -4,7 +4,7 @@
com.taobao.arthas
arthas-all
- 3.4.4-SNAPSHOT
+ ${revision}
../pom.xml
arthas-agent
diff --git a/arthas-agent-attach/pom.xml b/arthas-agent-attach/pom.xml
index 5d6485e45..4f558d487 100644
--- a/arthas-agent-attach/pom.xml
+++ b/arthas-agent-attach/pom.xml
@@ -4,7 +4,7 @@
com.taobao.arthas
arthas-all
- 3.4.4-SNAPSHOT
+ ${revision}
../pom.xml
arthas-agent-attach
diff --git a/arthas-spring-boot-starter/pom.xml b/arthas-spring-boot-starter/pom.xml
index c675ede6a..7e554f746 100644
--- a/arthas-spring-boot-starter/pom.xml
+++ b/arthas-spring-boot-starter/pom.xml
@@ -5,7 +5,7 @@
com.taobao.arthas
arthas-all
- 3.4.4-SNAPSHOT
+ ${revision}
../pom.xml
diff --git a/boot/pom.xml b/boot/pom.xml
index f5e7629ff..f80c750ce 100644
--- a/boot/pom.xml
+++ b/boot/pom.xml
@@ -4,7 +4,7 @@
com.taobao.arthas
arthas-all
- 3.4.4-SNAPSHOT
+ ${revision}
../pom.xml
arthas-boot
diff --git a/bytekit/pom.xml b/bytekit/pom.xml
index ae50ec410..37477376e 100644
--- a/bytekit/pom.xml
+++ b/bytekit/pom.xml
@@ -4,7 +4,7 @@
com.taobao.arthas
arthas-all
- 3.4.4-SNAPSHOT
+ ${revision}
../pom.xml
arthas-bytekit
diff --git a/client/pom.xml b/client/pom.xml
index 68e48d1e0..16b692951 100644
--- a/client/pom.xml
+++ b/client/pom.xml
@@ -3,7 +3,7 @@
arthas-all
com.taobao.arthas
- 3.4.4-SNAPSHOT
+ ${revision}
../pom.xml
4.0.0
diff --git a/common/pom.xml b/common/pom.xml
index d4fbe9152..1163a308d 100644
--- a/common/pom.xml
+++ b/common/pom.xml
@@ -4,7 +4,7 @@
com.taobao.arthas
arthas-all
- 3.4.4-SNAPSHOT
+ ${revision}
../pom.xml
arthas-common
diff --git a/core/pom.xml b/core/pom.xml
index 5d809cf05..88979b918 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -4,7 +4,7 @@
com.taobao.arthas
arthas-all
- 3.4.4-SNAPSHOT
+ ${revision}
../pom.xml
arthas-core
diff --git a/demo/pom.xml b/demo/pom.xml
index 5f9b77b30..123c64840 100644
--- a/demo/pom.xml
+++ b/demo/pom.xml
@@ -4,7 +4,7 @@
com.taobao.arthas
arthas-all
- 3.4.4-SNAPSHOT
+ ${revision}
../pom.xml
arthas-demo
diff --git a/memorycompiler/pom.xml b/memorycompiler/pom.xml
index b9089495b..58ee25f64 100644
--- a/memorycompiler/pom.xml
+++ b/memorycompiler/pom.xml
@@ -4,7 +4,7 @@
com.taobao.arthas
arthas-all
- 3.4.4-SNAPSHOT
+ ${revision}
../pom.xml
arthas-memorycompiler
diff --git a/packaging/pom.xml b/packaging/pom.xml
index 5d91628f8..e4799e326 100644
--- a/packaging/pom.xml
+++ b/packaging/pom.xml
@@ -4,7 +4,7 @@
com.taobao.arthas
arthas-all
- 3.4.4-SNAPSHOT
+ ${revision}
../pom.xml
arthas-packaging
diff --git a/pom.xml b/pom.xml
index 77829633a..b75961087 100644
--- a/pom.xml
+++ b/pom.xml
@@ -48,7 +48,7 @@
com.taobao.arthas
arthas-all
- 3.4.4-SNAPSHOT
+ ${revision}
pom
arthas-all
@@ -121,6 +121,7 @@
+ 3.4.4-SNAPSHOT
UTF-8
1.6
1.6
@@ -326,6 +327,30 @@
+
+ org.codehaus.mojo
+ flatten-maven-plugin
+ 1.2.2
+
+
+
+
+ flatten
+ process-resources
+
+ flatten
+
+
+
+ flatten.clean
+ clean
+
+ clean
+
+
+
+
+
org.jacoco
jacoco-maven-plugin
diff --git a/site/pom.xml b/site/pom.xml
index 2afa320d4..b5a495dba 100644
--- a/site/pom.xml
+++ b/site/pom.xml
@@ -4,7 +4,7 @@
com.taobao.arthas
arthas-all
- 3.4.4-SNAPSHOT
+ ${revision}
../pom.xml
arthas-site
diff --git a/spy/pom.xml b/spy/pom.xml
index 80fa17f6a..b62fa39c9 100644
--- a/spy/pom.xml
+++ b/spy/pom.xml
@@ -4,7 +4,7 @@
com.taobao.arthas
arthas-all
- 3.4.4-SNAPSHOT
+ ${revision}
../pom.xml
arthas-spy
diff --git a/testcase/pom.xml b/testcase/pom.xml
index ed0e033e7..f73e5e72a 100644
--- a/testcase/pom.xml
+++ b/testcase/pom.xml
@@ -4,7 +4,7 @@
com.taobao.arthas
arthas-all
- 3.4.4-SNAPSHOT
+ ${revision}
../pom.xml
arthas-testcase
diff --git a/tunnel-client/pom.xml b/tunnel-client/pom.xml
index 5d1480cab..3aecf161b 100644
--- a/tunnel-client/pom.xml
+++ b/tunnel-client/pom.xml
@@ -4,7 +4,7 @@
com.taobao.arthas
arthas-all
- 3.4.4-SNAPSHOT
+ ${revision}
../pom.xml
arthas-tunnel-client
diff --git a/tunnel-server/pom.xml b/tunnel-server/pom.xml
index ca7542f74..7d5369ac1 100644
--- a/tunnel-server/pom.xml
+++ b/tunnel-server/pom.xml
@@ -4,7 +4,7 @@
com.taobao.arthas
arthas-all
- 3.4.4-SNAPSHOT
+ ${revision}
../pom.xml
arthas-tunnel-server