Monday, 26 August 2013

Maven plugin: copy a file content into another file

Maven plugin: copy a file content into another file

I am looking for the appropriate plugin to copy a file content into
another file.
My resource.xml has content like this:
<class>my.path.ResourceA</class>
<class>my.path.ResourceB</class>
<class>my.path.ResourceC</class>
and must be copied to destination.xml at the place of ${content}:
<aaa>some info</aaa>
${content}
What the proper maven plugin to do that task, please? Thank you in
advance. Nic

No comments:

Post a Comment