Until recently we could use something like this to show the maven version and timestamp inside the /info actuator:
info:
app:
name: my-service
version: @project.version@
buildtime: @timestamp@
As we updated to Spring Boot 2.1.3 the application didn`t want to start up.
The error message said the we couldn’t use the @ delimiter. To fix this problem you need to do the following:
pom.xml
<properties>
<resource.delimiter>^</resource.delimiter>
</properties>
application.yaml
# this info may be accessed via actuator
info:
app:
name: my-service
version: ^project.version^
buildtime: ^timestamp^