From 148a2f54dabc61bdbdd8f1b88f0bc927618d5525 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=86=B7=E5=86=B7?= <2270033969@qq.com> Date: Wed, 26 Jun 2024 15:26:21 +0800 Subject: [PATCH] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20git-commit-id-plugin=20?= =?UTF-8?q?=E5=AE=9A=E5=88=B6=20git.properties=20=E6=8F=92=E4=BB=B6?= =?UTF-8?q?=E8=BE=93=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (cherry picked from commit 031b12cc3f3d2d2b170c2bcc9fb3853576bcfe2e) --- pom.xml | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 1217d6d33..a10031274 100644 --- a/pom.xml +++ b/pom.xml @@ -43,7 +43,7 @@ 1.3.0 3.11.0 0.0.39 - 2.2.5 + 4.9.9 1.3.0 2.2.3 3.6.4 @@ -245,9 +245,28 @@ - pl.project13.maven - git-commit-id-plugin + io.github.git-commit-id + git-commit-id-maven-plugin ${git.commit.version} + + + get-the-git-infos + + revision + + validate + + + + false + true + + yyyy-MM-dd HH:mm:ss + + ^git.build.(time|version)$ + ^git.commit.(id|message|time).*$ + +