【发布时间】:2011-10-31 22:59:30
【问题描述】:
我有一些配置的 Maven POM 文件,在插件部分,我有一些配置如下的 maven tomcat 插件:
<configuration>
<url>http://localhost:8080/manager/html</url>
<server>tomcat</server>
</configuration>
我想使用该键将 url 设置导出到某个属性文件,例如 tomcat.properties:
url=http://localhost:8080/manager/html
我怎样才能在我的 POM 文件中读回这个密钥?
【问题讨论】:
标签: java tomcat maven-2 pom.xml properties-file