i migrating existing ant project maven. facing problem while building project in maven have achieve existing targets.
i want copy files based on env passed. in ant using below:
<fileset dir="${scripts.dir}" /> <filtermapper> <replacestring from=".${param.environment}" to="" /> </filtermapper>
edit have achived this:
edit
now want keep files below:
if want custom build output structure, should take @ this post.
you might want familiarize concept of maven build profiles, should allow have different build configurations based on external setting.
if want copy files part of maven built, should take @ maven copy resources plugin
Comments
Post a Comment