You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by um...@comcast.net on 2007/03/03 01:54:42 UTC
assembly-plugin: setting the base directory
I am using assembly plugin to create a src zip assembly of my resources:
src/main/resources/foo/bar/....
However, the zip assembly contains directory starting from
src as follows:
src/
src/main
src/main/resources
src/main/resources/foo
...
I need an assembly of directories beneath the 'bar' directory:
./bar
./bar/a.xml
....
How can I configure the descriptor to do this?
My descriptor is given below:
<assembly>
<id>src</id>
<formats>
<format>zip</format>
</formats>
<includeBaseDirectory>false</includeBaseDirectory>
<fileSets>
<fileSet>
<directory>src/main/resources/foo</directory>
</fileSet>
</fileSets>
</assembly>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org