This example applications maven.xml creates a runtime for the application with
the following steps:
src/main/bin.src/main/etc.
This is what a typical maven.xml will look like:
<project
xmlns:ant="jelly:ant"
xmlns:runner="runner"
>
<goal name="runtime" prereqs="jar">
<runner:deploy
base="${maven.build.dir}/runtime"
confDir="etc"
jvmOptions=""
main="no.inamo.account.cli.CommandLineInterface"
runtimeOptions=""
lib="lib"
/>
<ant:copy toDir="${maven.build.dir}/runtime/etc">
<ant:fileset dir="src/main/etc"/>
</ant:copy>
<ant:copy toDir="${maven.build.dir}/runtime/bin">
<ant:fileset dir="src/main/bin"/>
</ant:copy>
<ant:chmod dir="${maven.build.dir}/runtime/bin" perm="a+x" includes="**/*.sh"/>
</goal>
</project>