我有一个看起来像这样的maven应用程序
application_name/
module1
src/main/resources
file_snippet.xml
module2
src/main/resources
file_snippet.xml
module3
src/main/resources
file.xml
Run Code Online (Sandbox Code Playgroud)
file.xml应该是这样的
<workflow>
<action>
<%= module1/src/main/resources/file_snippet.xml %>
</action>
<action>
<%= module2/src/main/resources/file_snippet.xml %>
</action>
</workflow>
Run Code Online (Sandbox Code Playgroud)
我想在构建之前将module2和module2中的file_snippet.xml的内容包含到module3的file.xml中.这在maven有可能吗?我可以使用某种模板语言或插件吗?