One of the ideas that I've got is through book "Maven definitive guide" is to write a plugin ZipMojo for the task. Is there any other option that can be used?
singh_rajeev 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-tp26057622p26107221.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]
