how to get property value from pom.xml?

后端 未结 4 1017
渐次进展
渐次进展 2021-01-17 19:51

I have added a node in my pom.xml:


        1.5

         


        
4条回答
  •  轮回少年
    2021-01-17 20:07

    I assume you want to get it in the code to check something right? You can use filtering from maven that will inject the value in the source code, similar to the filtering option http://mojo.codehaus.org/templating-maven-plugin/

提交回复
热议问题