diff --git a/expose-git-information-actuator/README.md b/expose-git-information-actuator/README.md new file mode 100644 index 0000000000000000000000000000000000000000..9e69fc4f0c2fc6149eb7ee9d8b3e6d0fcc4d2dbb --- /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 ca71afa80be55fb9439dfff8c432d608f3e65704..377f12c5e43f22588278d5eb0404d4afcc96789c 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