Here's what I came up with using the maven-antrun-plugin. How would I do this with the assembly plugin?
<profile> <id>zipContent</id> <build> <plugins> <plugin> <artifactId>maven-antrun-plugin</artifactId> <executions> <execution> <id>zipContent</id> <phase>package</phase> <configuration> <tasks> <zip zipfile="${project.build.directory}/static-content.zip"> <zipfileset dir="src/main/webapp/content"> <patternset id="srcfiles"> <include name="**"/> <exclude name="*.psd"/> </patternset> </zipfileset> </zip> </tasks> </configuration> <goals> <goal>run</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> Thanks, Matt dan tran wrote: > > zip and deploy? if so, use assembly:attached > > > On 3/27/07, mraible <[EMAIL PROTECTED]> wrote: >> >> >> I'm currently migrating an ASP-based site to Maven and Subversion. The >> previous site didn't use any source control, so the "images" directory is >> quite large (1 GB). I can exclude/include this directory easily enough >> with >> the maven-war-plugin and profiles, but I'm wondering what's the best way >> to >> zip it up as part of the build process. Should I use the >> maven-antrun-plugin, or is there a better way? >> >> Thanks, >> >> Matt >> -- >> View this message in context: >> http://www.nabble.com/Packaging-up-images-tf3474277s177.html#a9696408 >> Sent from the Maven - Users mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > -- View this message in context: http://www.nabble.com/Packaging-up-images-tf3474277s177.html#a9696856 Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]