I had a similar issue. The easiest way to do this is with the <antrun>
plugin. This will allow you to zip up these files before Maven does the
package stage.

On Mon, Oct 26, 2009 at 6:57 AM, singh_rajeev <[email protected]>wrote:

>
> Hi
>
> I've the following lines of code in my assembly.xml
> <moduleSet>
> <sources>
>        <includeModuleDirectory>false</includeModuleDirectory>
> <fileSet>
>   <directory>sql</directory>
>       <outputDirectory>config/schemas</outputDirectory>
>        <includes>
>                <include>*.sql</include>
>        </includes>
> </fileSet>
> </fileSets>
> </sources>
> </moduleSet>
>
> This creates a folder schemas in config file when I package it using mvn
> assembly plugin.
>
> Instead of a folder I want to create a zip file containing the same folder
> structure as specified in <outputDirectory>. I know how to do it in Ant but
> don't know how to do it in Maven.
> Any help will be appriciated.
>
> Thanks,
> Rajeev.
> --
> View this message in context:
> http://www.nabble.com/zipping-the-outputDirectory-using-Assembly-plugin-tp26057622p26057622.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>


-- 
David Weintraub
[email protected]

Reply via email to