From 657accd8a595ab0c2e9ff4d00e49c569eae03123 Mon Sep 17 00:00:00 2001 From: Charles7c Date: Thu, 18 Jan 2024 20:19:13 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E5=AE=8C=E5=96=84=20flatten=20Maven?= =?UTF-8?q?=20=E6=8F=92=E4=BB=B6=E9=85=8D=E7=BD=AE=EF=BC=8C=E4=BB=A5?= =?UTF-8?q?=E8=A6=86=E7=9B=96=E6=9B=B4=E5=A4=9A=E4=BD=BF=E7=94=A8=E6=83=85?= =?UTF-8?q?=E5=86=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 3 +++ pom.xml | 39 +++++++++++++++++++++++++++++++-------- 2 files changed, 34 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 42e16fd7..29d0410c 100644 --- a/.gitignore +++ b/.gitignore @@ -33,6 +33,9 @@ build/ ### VS Code ### .vscode/ +# Maven ignore +.flattened-pom.xml + ### Temp ### *.log *.logs diff --git a/pom.xml b/pom.xml index ed42941e..96d39eef 100644 --- a/pom.xml +++ b/pom.xml @@ -33,9 +33,8 @@ + 2.3.0-SNAPSHOT - - 2.40.0 @@ -45,35 +44,35 @@ top.charles7c.continew continew-admin-webapi - ${project.version} + ${revision} top.charles7c.continew continew-admin-monitor - ${project.version} + ${revision} top.charles7c.continew continew-admin-system - ${project.version} + ${revision} top.charles7c.continew continew-admin-tool - ${project.version} + ${revision} top.charles7c.continew continew-admin-common - ${project.version} + ${revision} @@ -110,7 +109,6 @@ com.diffplug.spotless spotless-maven-plugin - ${spotless.version} compile @@ -131,6 +129,31 @@ + + + org.codehaus.mojo + flatten-maven-plugin + + true + resolveCiFriendliesOnly + + + + flatten + process-resources + + flatten + + + + flatten-clean + clean + + clean + + + +