I am migrating existing Ant project to Maven. But I am facing a problem while building the project in Maven as I have to achieve the existing targets.
I want to copy the files based on ENV I passed. In Ant I am using like below:
<fileset dir="${scripts.dir}" />
<filtermapper>
<replacestring from=".${param.environment}" to="" />
</filtermapper>
EDIT I have achived this:
Edit
Now I want to keep my files as below: