【发布时间】:2015-03-08 03:46:18
【问题描述】:
我从以下位置签出了 spring-boot 项目:
https://github.com/spring-projects/spring-boot
在使用 mvn spring-boot:run 运行 spring-boot-sample-actuator 并导航到 http://localhost:8080/info
我明白了:
{版本:“@project.version@”,工件:“@project.artifactId@”,组:“@project.groupId@”,名称:“@project.name@”}
似乎使用 Maven 自动扩展属性(这里也解释了http://docs.spring.io/spring-boot/docs/current-SNAPSHOT/reference/htmlsingle/#production-ready-application-info-automatic-expansion) 不管用。
我错过了什么,如何让它发挥作用?
【问题讨论】:
标签: maven spring-boot