Suppose I have the following directory layout in a Maven project:
src/
|-- main
| |-- bin
| | |-- run.cmd
| | `-- run.sh
| |-- etc
| | |-- common-spring.xml
| | |-- log4j.xml
| | `-- xml-spring.xml
| `-- java
| `-- com
...
I would like to build a zip file that, when unzipped, produces something like this:
assembly
|-- bin
| |-- run.cmd
| `-- run.sh
|-- etc
| |-- common-spring.xml
| |-- log4j.xml
| `-- xml-spring.xml
`-- lib
|-- dependency1.jar
|-- dependency2.jar
...
where `run.xx' are executable shell scripts that will call my main application and put all dependencies on the classpath.
Is this possible with some of the `official' Maven plugins, e.g. maven-assembly-plugin?