diff --git a/spring-boot-dependencies/pom.xml b/spring-boot-dependencies/pom.xml index 3102bca35cf..aeac8b60022 100644 --- a/spring-boot-dependencies/pom.xml +++ b/spring-boot-dependencies/pom.xml @@ -595,6 +595,11 @@ versions-maven-plugin 2.0 + + pl.project13.maven + git-commit-id-plugin + 2.1.7 + diff --git a/spring-boot-tools/spring-boot-loader-tools/pom.xml b/spring-boot-tools/spring-boot-loader-tools/pom.xml index c9f1f4620f1..6f4878de27f 100644 --- a/spring-boot-tools/spring-boot-loader-tools/pom.xml +++ b/spring-boot-tools/spring-boot-loader-tools/pom.xml @@ -34,6 +34,29 @@ + + pl.project13.maven + git-commit-id-plugin + + + include-git-properties + prepare-package + + revision + + + ${main.basedir}/.git + true + + true + + + + + + false + + org.apache.maven.plugins maven-dependency-plugin @@ -80,6 +103,16 @@ + + maven-jar-plugin + + + + ${git.commit.id} + + + +