From 012e722a252df88f901bc162ddcafb1f80f8bb66 Mon Sep 17 00:00:00 2001 From: Gabriel Roldan Date: Tue, 27 Dec 2022 20:38:54 -0300 Subject: [PATCH] Add git build info to all apps /actuator/info endpoints --- src/apps/geoserver/gwc/pom.xml | 11 ---------- src/apps/geoserver/pom.xml | 25 ----------------------- src/apps/infrastructure/admin/pom.xml | 25 ----------------------- src/apps/infrastructure/discovery/pom.xml | 25 ----------------------- src/apps/pom.xml | 18 ++++++++++++++++ 5 files changed, 18 insertions(+), 86 deletions(-) diff --git a/src/apps/geoserver/gwc/pom.xml b/src/apps/geoserver/gwc/pom.xml index 2bb854c3b..988fabcde 100644 --- a/src/apps/geoserver/gwc/pom.xml +++ b/src/apps/geoserver/gwc/pom.xml @@ -66,17 +66,6 @@ - - org.springframework.boot - spring-boot-maven-plugin - - - - build-info - - - - org.apache.maven.plugins maven-compiler-plugin diff --git a/src/apps/geoserver/pom.xml b/src/apps/geoserver/pom.xml index 5929fa607..ae7d8db5a 100644 --- a/src/apps/geoserver/pom.xml +++ b/src/apps/geoserver/pom.xml @@ -63,29 +63,4 @@ 3.2.2 - - - - org.springframework.boot - spring-boot-maven-plugin - - - repackage - - repackage - - - bin - - - - build-info - - build-info - - - - - - diff --git a/src/apps/infrastructure/admin/pom.xml b/src/apps/infrastructure/admin/pom.xml index bf7a763f4..5d8d99662 100644 --- a/src/apps/infrastructure/admin/pom.xml +++ b/src/apps/infrastructure/admin/pom.xml @@ -53,31 +53,6 @@ spring-boot-starter-actuator - - - - org.springframework.boot - spring-boot-maven-plugin - - - repackage - - repackage - - - bin - - - - build-info - - build-info - - - - - - docker diff --git a/src/apps/infrastructure/discovery/pom.xml b/src/apps/infrastructure/discovery/pom.xml index 67426b959..407140997 100644 --- a/src/apps/infrastructure/discovery/pom.xml +++ b/src/apps/infrastructure/discovery/pom.xml @@ -33,31 +33,6 @@ test - - - - org.springframework.boot - spring-boot-maven-plugin - - - repackage - - repackage - - - bin - - - - build-info - - build-info - - - - - - docker diff --git a/src/apps/pom.xml b/src/apps/pom.xml index 60eb2a1ab..e8ed6c336 100644 --- a/src/apps/pom.xml +++ b/src/apps/pom.xml @@ -16,6 +16,24 @@ + + io.github.git-commit-id + git-commit-id-maven-plugin + 5.0.0 + + + get-the-git-infos + initialize + + revision + + + + + false + true + + org.springframework.boot spring-boot-maven-plugin