Skip to content

Commit

Permalink
Expose build information for app live view (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
moarychan committed Dec 5, 2023
1 parent 9696dae commit 8150436
Show file tree
Hide file tree
Showing 4 changed files with 62 additions and 1 deletion.
20 changes: 20 additions & 0 deletions spring-petclinic-customers-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -120,4 +120,24 @@
</build>
</profile>
</profiles>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>build-info</goal>
</goals>
<configuration>
<additionalProperties>
<spring.boot.version>${project.parent.version}</spring.boot.version>
</additionalProperties>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
1 change: 0 additions & 1 deletion spring-petclinic-frontend/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,3 @@ npm run start

If everything goes well, you can access the PetClinic at given location:
* Gateway - http://localhost:8080
* Frontend - http://localhost:3000
21 changes: 21 additions & 0 deletions spring-petclinic-vets-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -138,4 +138,25 @@
</build>
</profile>
</profiles>

<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>build-info</goal>
</goals>
<configuration>
<additionalProperties>
<spring.boot.version>${project.parent.version}</spring.boot.version>
</additionalProperties>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
21 changes: 21 additions & 0 deletions spring-petclinic-visits-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -118,4 +118,25 @@
</build>
</profile>
</profiles>

<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>build-info</goal>
</goals>
<configuration>
<additionalProperties>
<spring.boot.version>${project.parent.version}</spring.boot.version>
</additionalProperties>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

0 comments on commit 8150436

Please sign in to comment.