I'm working on a project that used ant. I had a target dist that would basically do jar first, and then install the application into a directory.
This means, it would create directories like bin/, lib/ and config/ in the installation directory, and then copy the relevant files into each of these directories.
My question is two-fold:
- Is there any maven goal that does this kind of thing?
- If not, I want to do
maven distand make this happen. How would you suggest I accomplish this using Maven? - If I can't have my own "target" (like dist), then what would be the best way?
Bottom line: I want to do all this, but don't want to alter the behavior of the default "targets" like compile and package etc.
Thanks, jrh
PS: I'm using maven version 2.2.21