我想在mvn build
期间制作简单的模板:
我的资源有一个 ${variable}
,在 pom.xml
中启用了过滤。
如何用完整文件替换 ${variable}
?
更新:我正在寻找类似 http://ant.apache.org/manual/Tasks/loadfile.html 的内容在maven中
最佳答案
用于此类目的的最佳解决方案是 templating-maven-plugin .
关于java - maven资源过滤: insert a complete file into a property,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18314535/