springboot读取pom.xml中的version

applycation.yml中加上

version :@project.version@

posted @ 2020-10-29 11:47  红叶如醉  阅读(2658)  评论(0编辑  收藏  举报