Plug-in usage example
This example applications maven.xml
creates a runtime for the application with
the following steps:
- It creates the runtime itself with <runner:deploy>
- Copies over all unix and windows shell wrappers in
src/main/bin
.
- Copies over all confiuration files in
src/main/etc
.
- Sets the executable bit for all the unix shell scripts.
Other possible post goals might be include to build distributable archives with
<ant:tar>/
<ant:zip>
or to build a a installable
debian or
redhat archive.
This is what a typical maven.xml
will look like: