Hi, 

I've been using the source:jar target in maven to jar up the source
directories. It may do what you are looking for.

ciao
Derek


Gary Kind 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.
> 
> 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]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-do-I-zip-up-a-source-directory-in-my-pom.xml--tf3176160s177.html#a8817170
Sent from the Maven Developers mailing list archive at Nabble.com.


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

Reply via email to