tcurdt/jdeb — pull request #45 by teabot (2012-06-15 16:24:40+00:00)
Title: Allow the renaming of the destination deb entry for file Data sets

What does it do?
---------------------------
This patch allows you to specify a different destination deb entry name for a file Data set.
```xml

${scriptSourceDir}/init.d
${project.artifactId}
file

perm
etc/init.d
744

```
Why is this useful?
---------------------------
We use jdeb in many, many projects. We have a standard project and package layout. To minimize configuration we put our jdeb configuration in our 'master' pom file. Developers just inherit it and don't have to think about getting our deb packaging right.

For example we say that for projects that produce daemons:
```
src/main/scripts/init.d
```
will always be made executable and deployed as:
```
/etc/init.d/${project.artifactId}
```
We like to use the script name 'init.d' while working in the project as it's very meaningful in that context. However, this naming is meaningless in the environment where it is deployed, so it's very handy to be able to rename it to something project specific.