【发布时间】:2010-08-16 18:18:52
【问题描述】:
我有一个看起来像这样的 maven 应用程序
application_name/
module1
src/main/resources
file_snippet.xml
module2
src/main/resources
file_snippet.xml
module3
src/main/resources
file.xml
file.xml 应该是这样的
<workflow>
<action>
<%= module1/src/main/resources/file_snippet.xml %>
</action>
<action>
<%= module2/src/main/resources/file_snippet.xml %>
</action>
</workflow>
我想在构建之前将 module2 和 module2 中的 file_sn-p.xml 的内容包含到 module3 的 file.xml 中。这在maven中可能吗?我可以使用某种模板语言或插件吗?
【问题讨论】: