From ccbffb311d6fd42058821d4cc887809760c602f8 Mon Sep 17 00:00:00 2001 From: liugddx Date: Sat, 1 Jul 2023 20:34:40 +0800 Subject: [PATCH] Use maven revision to manage project version --- .gitignore | 2 ++ datasophon-api/pom.xml | 2 +- datasophon-common/pom.xml | 2 +- datasophon-dao/pom.xml | 2 +- datasophon-ui/pom.xml | 2 +- datasophon-worker/pom.xml | 2 +- pom.xml | 29 ++++++++++++++++++++++++++++- 7 files changed, 35 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index c070584e..96c07ed0 100644 --- a/.gitignore +++ b/.gitignore @@ -40,3 +40,5 @@ test/coverage front/ node/ + +*.flattened-pom.xml \ No newline at end of file diff --git a/datasophon-api/pom.xml b/datasophon-api/pom.xml index eea9f0b1..80a89506 100644 --- a/datasophon-api/pom.xml +++ b/datasophon-api/pom.xml @@ -21,7 +21,7 @@ com.datasophon datasophon - 1.1.1 + ${revision} datasophon-api diff --git a/datasophon-common/pom.xml b/datasophon-common/pom.xml index 6a30ff33..d4d0ec92 100644 --- a/datasophon-common/pom.xml +++ b/datasophon-common/pom.xml @@ -21,7 +21,7 @@ com.datasophon datasophon - 1.1.1 + ${revision} datasophon-common diff --git a/datasophon-dao/pom.xml b/datasophon-dao/pom.xml index 8c5a4448..d4eb408b 100644 --- a/datasophon-dao/pom.xml +++ b/datasophon-dao/pom.xml @@ -21,7 +21,7 @@ com.datasophon datasophon - 1.1.1 + ${revision} datasophon-dao diff --git a/datasophon-ui/pom.xml b/datasophon-ui/pom.xml index 1153a1ac..dc7b48e7 100644 --- a/datasophon-ui/pom.xml +++ b/datasophon-ui/pom.xml @@ -21,7 +21,7 @@ com.datasophon datasophon - 1.1.1 + ${revision} datasophon-ui diff --git a/datasophon-worker/pom.xml b/datasophon-worker/pom.xml index 05b3fd77..7606da76 100644 --- a/datasophon-worker/pom.xml +++ b/datasophon-worker/pom.xml @@ -21,7 +21,7 @@ com.datasophon datasophon - 1.1.1 + ${revision} datasophon-worker diff --git a/pom.xml b/pom.xml index e00399ff..c212fe50 100644 --- a/pom.xml +++ b/pom.xml @@ -21,7 +21,7 @@ com.datasophon datasophon - 1.1.1 + ${revision} pom It is committed to rapidly implementing the deployment, management, monitoring and automatic operation and maintenance of the big data cloud native platform, helping you quickly build a stable, efficient, elastic @@ -35,6 +35,7 @@ + 1.1.1 2.4.20 3.0.1 2.6 @@ -274,6 +275,32 @@ versions-maven-plugin ${versions-maven-plugin.version} + + + org.codehaus.mojo + flatten-maven-plugin + 1.5.0 + + true + resolveCiFriendliesOnly + + + + flatten + process-resources + + flatten + + + + flatten.clean + clean + + clean + + + +