How can I set the base directory from which the zip file should be created when
using the assembly plugin?
My descriptor looks like:
<assembly>
<formats>
<format>zip</format>
</formats>
<fileSets>
<fileSet>
<directory>target/mhave</directory>
<excludes>
<exclude>xdocs/**</exclude>
</excludes>
</fileSet>
</fileSets>
</assembly>
My plugin config looks like:
<!-- maven-assembly-plugin -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<descriptors>
<descriptor>src/main/assembly/mhave-commons-assembly.xml</descriptor>
</descriptors>
<workDirectory>target/assembly/work</workDirectory>
<outputDirectory>target/releases/</outputDirectory>
</configuration>
</plugin>
</plugins>
I want to use "target/mhave" as base directory for the zip archive.
Chris