Fixed output dir and bin and contrib dir handling
<!-- copy karaf assembly files -->
<fileSet>
<directory>${project.build.directory}/assembly/</directory>
- <outputDirectory>/${project.artifactId}-${project.version}</outputDirectory>
+ <outputDirectory>${project.artifactId}-${project.version}</outputDirectory>
<excludes>
- <exclude>/bin</exclude>
+ <exclude>bin/**</exclude>
</excludes>
<useDefaultExcludes>false</useDefaultExcludes>
<directoryMode>0775</directoryMode>
<!-- mark /bin/* files as executable, except *.bat files -->
<fileSet>
<directory>${project.build.directory}/assembly/bin</directory>
- <outputDirectory>/${project.artifactId}-${project.version}/bin</outputDirectory>
+ <outputDirectory>${project.artifactId}-${project.version}/bin</outputDirectory>
<useDefaultExcludes>false</useDefaultExcludes>
<directoryMode>0775</directoryMode>
<fileMode>0755</fileMode>
<excludes>
<exclude>*.bat</exclude>
+ <exclude>contrib/**</exclude>
</excludes>
</fileSet>
<!-- copy /bin/*.bat files as it is -->
<fileSet>
<directory>${project.build.directory}/assembly/bin</directory>
- <outputDirectory>/${project.artifactId}-${project.version}/bin</outputDirectory>
+ <outputDirectory>${project.artifactId}-${project.version}/bin</outputDirectory>
<useDefaultExcludes>false</useDefaultExcludes>
<directoryMode>0775</directoryMode>
<fileMode>0644</fileMode>
<includes>
<include>*.bat</include>
+ <include>contrib/**</include>
</includes>
</fileSet>
</fileSets>
