From f220d6b989212e594ba08a5fb3a45d7c2b4d29ec Mon Sep 17 00:00:00 2001 From: Thad Guidry Date: Fri, 7 Aug 2020 09:10:42 -0500 Subject: [PATCH] Speed up git commit extraction Fixes #3039 Limits only asking Git for 2 properties, branch and commit id abbrev Also add warning about version of git-commit-id-plug --- main/pom.xml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/main/pom.xml b/main/pom.xml index de2f4834e..8d01cd67e 100644 --- a/main/pom.xml +++ b/main/pom.xml @@ -135,7 +135,7 @@ pl.project13.maven git-commit-id-plugin - 4.0.0 + 4.0.0 get-the-git-infos @@ -146,7 +146,6 @@ ${project.basedir}/.git - git false true ${project.build.outputDirectory}/git.properties @@ -158,6 +157,11 @@ false -dirty + + ^git.build.(time|version)$ + ^git.branch + ^git.commit.id.(abbrev|full|describe)$ +