I just got all set up and compiling in Maven with Flex-Mojos, and now my next question is how I would "publish" my compiled application to an arbitrary directory along with its web resources. It has a few PHP scripts which need to be copied, as well as the html wrapper of course. If I were to do this in Ant (which is where I'm coming from), I would do the following:
<copy todir="${deploy.dir}">
<fileset file="${compiled.swf.file}"/>
<fileset dir="${web.dir}" includes="**/*"/>
</copy>
Since this is Maven and the approach to project management is very different, what should I do to accomplish this? I need a fairly easy way to test my application (not unit-test, mind you) in a browser, what should I do?
Ended up using the Maven Ant runner to do it in the
copy-resources
phase.