From 092ba6ee3168f2912c67aae2d32445116f44fb6a Mon Sep 17 00:00:00 2001 From: Philip Riecks Date: Sat, 2 Jun 2018 10:36:04 +0200 Subject: [PATCH] update expose-git-information-actuator README and pom --- expose-git-information-actuator/README.md | 9 +++++++++ expose-git-information-actuator/pom.xml | 8 +++++++- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 expose-git-information-actuator/README.md diff --git a/expose-git-information-actuator/README.md b/expose-git-information-actuator/README.md new file mode 100644 index 0000000..9e69fc4 --- /dev/null +++ b/expose-git-information-actuator/README.md @@ -0,0 +1,9 @@ +# Codebase for the blog post [#HOWTO: Expose git information with Spring Boot’s Actuator](https://rieckpil.de/howto-expose-git-information-with-spring-boots-actuator/) + +Steps to run this application: + +1. Clone this Git repository +2. Navigate to the folder `expose-git-information-actuator` +3. Build the project with `mvn clean package` +4. Run the application with `java -jar target/expose-git-information-actuator-0.0.1-SNAPSHOT.jar` +5. Open the browser on `http://localhost:8080/actuator/info` \ No newline at end of file diff --git a/expose-git-information-actuator/pom.xml b/expose-git-information-actuator/pom.xml index ca71afa..377f12c 100644 --- a/expose-git-information-actuator/pom.xml +++ b/expose-git-information-actuator/pom.xml @@ -46,8 +46,14 @@ org.springframework.boot spring-boot-maven-plugin + + + + build-info + + + - pl.project13.maven git-commit-id-plugin -- 2.26.2