I’m using the assembly plugin to package my a swing application with artifactId killer-app with a custom assembly descriptor.
The assembly works fine and I can include whatever I want inside the /killer-app/ directory inside the assembly.
killer-app-archive.zip
\- killer-app
\- whatever ...
The problem is that I must include another file at the same level of the /killer-app/ folder inside the archive.
killer-app-archive.zip
\- killer-app
| \- whatever ...
\- launch.bat
I have been trying to play with the
<includeBaseDirectory>false</includeBaseDirectory>
but that simply remove the /killer-app/ folder, which I must preserve.
Three steps which could solve your problem:
baseDirectoryto../This should solve your problem. Here is an example: