Hi,

On 2/5/07, Gary Kind <[EMAIL PROTECTED]> wrote:
I need to zip up a source directory subtree within my pom.xml.  Probably
the best place to do this for me would be in the compile phase or when
using the surefire plugin to to mvn test.   How do I do this?  I tried
the assembly plugin, but I could not control the root directory in my
zip file.  No matter what I did, the assembly plugin inserted a root
directory that I did not want. Please help.  This is blocking me at present.

includeBaseDirector[1] is an option in your descriptor that allows to
control this. Set it to false to *not* create that root directory.

HTH,
Stéphane

[1] http://maven.apache.org/plugins/maven-assembly-plugin/assembly.html


I am not against running a simple zip OS command. I know there is a way
of running an OS command (like 'rm' or delete) but I cannot find it on
the web.  And I am NOT using Ant.  Thanks!!!!

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to