diff --git a/.gitignore b/.gitignore
index e19921afc..b36eff49c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -81,3 +81,5 @@ atlassian-ide-plugin.xml
*/logs
/payClear-timer/.tern-project
+
+.flattened-pom.xml
\ No newline at end of file
diff --git a/liteflow-core/pom.xml b/liteflow-core/pom.xml
index e50fb7223..27e3cd25f 100644
--- a/liteflow-core/pom.xml
+++ b/liteflow-core/pom.xml
@@ -9,7 +9,8 @@
com.yomahub
liteflow
- 2.8.0
+ ${revision}
+ ../pom.xml
diff --git a/liteflow-core/src/main/java/com/yomahub/liteflow/util/LOGOPrinter.java b/liteflow-core/src/main/java/com/yomahub/liteflow/util/LOGOPrinter.java
index 5aeeb0a80..5c3a6fccf 100644
--- a/liteflow-core/src/main/java/com/yomahub/liteflow/util/LOGOPrinter.java
+++ b/liteflow-core/src/main/java/com/yomahub/liteflow/util/LOGOPrinter.java
@@ -10,6 +10,10 @@ import org.slf4j.LoggerFactory;
public class LOGOPrinter {
private static final Logger LOG = LoggerFactory.getLogger(LOGOPrinter.class);
+ /**
+ * LiteFlow 当前版本号
+ */
+ private static final String VERSION_NO = "v2.8.0";
public static void print() {
StringBuilder str = new StringBuilder("\n");
@@ -19,7 +23,7 @@ public class LOGOPrinter {
str.append(" | | | | | | | _| _____| |_ | | | | | \\ \\ /\\ / / \n");
str.append(" | |___ | | | | | |__|_____| _| | |__| |_| |\\ V V / \n");
str.append(" |_____|___| |_| |_____| |_| |_____\\___/ \\_/\\_/ \n\n");
- str.append(" Version: v2.8.0\n");
+ str.append(" Version: " + VERSION_NO + "\n");
str.append(" 轻量且强大的规则引擎框架。\n");
str.append(" Small but powerful rules engine.\n");
str.append("================================================================================================\n");
diff --git a/liteflow-script-common/pom.xml b/liteflow-script-common/pom.xml
index a3035e267..9a66228f9 100644
--- a/liteflow-script-common/pom.xml
+++ b/liteflow-script-common/pom.xml
@@ -5,7 +5,8 @@
liteflow
com.yomahub
- 2.8.0
+ ${revision}
+ ../pom.xml
4.0.0
diff --git a/liteflow-script-groovy/pom.xml b/liteflow-script-groovy/pom.xml
index 7c1991f5d..9a40ad5f4 100644
--- a/liteflow-script-groovy/pom.xml
+++ b/liteflow-script-groovy/pom.xml
@@ -5,7 +5,8 @@
liteflow
com.yomahub
- 2.8.0
+ ${revision}
+ ../pom.xml
4.0.0
diff --git a/liteflow-script-qlexpress/pom.xml b/liteflow-script-qlexpress/pom.xml
index b44808944..a900dc6dd 100644
--- a/liteflow-script-qlexpress/pom.xml
+++ b/liteflow-script-qlexpress/pom.xml
@@ -5,7 +5,8 @@
liteflow
com.yomahub
- 2.8.0
+ ${revision}
+ ../pom.xml
4.0.0
diff --git a/liteflow-spring-boot-starter/pom.xml b/liteflow-spring-boot-starter/pom.xml
index 2d2630a59..cb3f53c85 100644
--- a/liteflow-spring-boot-starter/pom.xml
+++ b/liteflow-spring-boot-starter/pom.xml
@@ -10,7 +10,8 @@
liteflow
com.yomahub
- 2.8.0
+ ${revision}
+ ../pom.xml
diff --git a/liteflow-spring/pom.xml b/liteflow-spring/pom.xml
index d148a69b0..ce11184e1 100644
--- a/liteflow-spring/pom.xml
+++ b/liteflow-spring/pom.xml
@@ -5,7 +5,8 @@
liteflow
com.yomahub
- 2.8.0
+ ${revision}
+ ../pom.xml
4.0.0
diff --git a/liteflow-testcase-el/liteflow-testcase-el-declare-springboot/pom.xml b/liteflow-testcase-el/liteflow-testcase-el-declare-springboot/pom.xml
index e5e7b1671..50fb386b5 100644
--- a/liteflow-testcase-el/liteflow-testcase-el-declare-springboot/pom.xml
+++ b/liteflow-testcase-el/liteflow-testcase-el-declare-springboot/pom.xml
@@ -5,7 +5,8 @@
liteflow-testcase-el
com.yomahub
- 2.8.0
+ ${revision}
+ ../pom.xml
4.0.0
diff --git a/liteflow-testcase-el/liteflow-testcase-el-script-groovy-springboot/pom.xml b/liteflow-testcase-el/liteflow-testcase-el-script-groovy-springboot/pom.xml
index c4c409368..fda750c1e 100644
--- a/liteflow-testcase-el/liteflow-testcase-el-script-groovy-springboot/pom.xml
+++ b/liteflow-testcase-el/liteflow-testcase-el-script-groovy-springboot/pom.xml
@@ -5,7 +5,8 @@
liteflow-testcase-el
com.yomahub
- 2.8.0
+ ${revision}
+ ../pom.xml
4.0.0
diff --git a/liteflow-testcase-el/liteflow-testcase-el-script-qlexpress-springboot/pom.xml b/liteflow-testcase-el/liteflow-testcase-el-script-qlexpress-springboot/pom.xml
index 11a493817..d976ffb3a 100644
--- a/liteflow-testcase-el/liteflow-testcase-el-script-qlexpress-springboot/pom.xml
+++ b/liteflow-testcase-el/liteflow-testcase-el-script-qlexpress-springboot/pom.xml
@@ -5,7 +5,8 @@
liteflow-testcase-el
com.yomahub
- 2.8.0
+ ${revision}
+ ../pom.xml
4.0.0
diff --git a/liteflow-testcase-el/liteflow-testcase-el-springboot/pom.xml b/liteflow-testcase-el/liteflow-testcase-el-springboot/pom.xml
index 0fdb1d626..8bec4c786 100644
--- a/liteflow-testcase-el/liteflow-testcase-el-springboot/pom.xml
+++ b/liteflow-testcase-el/liteflow-testcase-el-springboot/pom.xml
@@ -5,7 +5,8 @@
liteflow-testcase-el
com.yomahub
- 2.8.0
+ ${revision}
+ ../pom.xml
4.0.0
diff --git a/liteflow-testcase-el/pom.xml b/liteflow-testcase-el/pom.xml
index a5b96290f..4a3daca35 100644
--- a/liteflow-testcase-el/pom.xml
+++ b/liteflow-testcase-el/pom.xml
@@ -5,7 +5,8 @@
liteflow
com.yomahub
- 2.8.0
+ ${revision}
+ ../pom.xml
4.0.0
pom
diff --git a/liteflow-testcase-old/liteflow-testcase-declare-springboot/pom.xml b/liteflow-testcase-old/liteflow-testcase-declare-springboot/pom.xml
index a7d472a94..d50f6d8b5 100644
--- a/liteflow-testcase-old/liteflow-testcase-declare-springboot/pom.xml
+++ b/liteflow-testcase-old/liteflow-testcase-declare-springboot/pom.xml
@@ -5,7 +5,8 @@
liteflow-testcase-old
com.yomahub
- 2.8.0
+ ${revision}
+ ../pom.xml
4.0.0
diff --git a/liteflow-testcase-old/liteflow-testcase-nospring/pom.xml b/liteflow-testcase-old/liteflow-testcase-nospring/pom.xml
index a714716a5..2d18b6532 100644
--- a/liteflow-testcase-old/liteflow-testcase-nospring/pom.xml
+++ b/liteflow-testcase-old/liteflow-testcase-nospring/pom.xml
@@ -5,7 +5,8 @@
liteflow-testcase-old
com.yomahub
- 2.8.0
+ ${revision}
+ ../pom.xml
4.0.0
diff --git a/liteflow-testcase-old/liteflow-testcase-script-groovy-springboot/pom.xml b/liteflow-testcase-old/liteflow-testcase-script-groovy-springboot/pom.xml
index 343f468a5..1adce85e1 100644
--- a/liteflow-testcase-old/liteflow-testcase-script-groovy-springboot/pom.xml
+++ b/liteflow-testcase-old/liteflow-testcase-script-groovy-springboot/pom.xml
@@ -5,7 +5,8 @@
liteflow-testcase-old
com.yomahub
- 2.8.0
+ ${revision}
+ ../pom.xml
4.0.0
diff --git a/liteflow-testcase-old/liteflow-testcase-script-qlexpress-springboot/pom.xml b/liteflow-testcase-old/liteflow-testcase-script-qlexpress-springboot/pom.xml
index 6f52c8b34..8cd9b7e00 100644
--- a/liteflow-testcase-old/liteflow-testcase-script-qlexpress-springboot/pom.xml
+++ b/liteflow-testcase-old/liteflow-testcase-script-qlexpress-springboot/pom.xml
@@ -5,7 +5,8 @@
liteflow-testcase-old
com.yomahub
- 2.8.0
+ ${revision}
+ ../pom.xml
4.0.0
diff --git a/liteflow-testcase-old/liteflow-testcase-springboot/pom.xml b/liteflow-testcase-old/liteflow-testcase-springboot/pom.xml
index 8f6f808ee..7f2e37c74 100644
--- a/liteflow-testcase-old/liteflow-testcase-springboot/pom.xml
+++ b/liteflow-testcase-old/liteflow-testcase-springboot/pom.xml
@@ -5,7 +5,8 @@
liteflow-testcase-old
com.yomahub
- 2.8.0
+ ${revision}
+ ../pom.xml
4.0.0
diff --git a/liteflow-testcase-old/liteflow-testcase-springnative/pom.xml b/liteflow-testcase-old/liteflow-testcase-springnative/pom.xml
index b81e581e2..5c9b5cc2a 100644
--- a/liteflow-testcase-old/liteflow-testcase-springnative/pom.xml
+++ b/liteflow-testcase-old/liteflow-testcase-springnative/pom.xml
@@ -5,7 +5,8 @@
liteflow-testcase-old
com.yomahub
- 2.8.0
+ ${revision}
+ ../pom.xml
4.0.0
diff --git a/liteflow-testcase-old/pom.xml b/liteflow-testcase-old/pom.xml
index 417f7680e..ab208e3bc 100644
--- a/liteflow-testcase-old/pom.xml
+++ b/liteflow-testcase-old/pom.xml
@@ -5,7 +5,8 @@
liteflow
com.yomahub
- 2.8.0
+ ${revision}
+ ../pom.xml
4.0.0
pom
diff --git a/pom.xml b/pom.xml
index 273b9dd65..1e684a548 100644
--- a/pom.xml
+++ b/pom.xml
@@ -5,7 +5,7 @@
com.yomahub
liteflow
pom
- 2.8.0
+ ${revision}
liteflow
a lightweight and practical micro-process framework
https://github.com/bryan31/liteflow
@@ -39,6 +39,9 @@
+ 2.8.0
+ UTF-8
+ UTF-8
8
8
2.0.5.RELEASE
@@ -280,6 +283,32 @@
+
+
+ org.codehaus.mojo
+ flatten-maven-plugin
+ 1.2.7
+
+ true
+ resolveCiFriendliesOnly
+
+
+
+ flatten
+ process-resources
+
+ flatten
+
+
+
+ flatten.clean
+ clean
+
+ clean
+
+
+
+