I'm trying to use the assembly plugin to package up WARs from a bunch of sub-projects. My goal is to get a target/release.zip after running "mvn package" from the top-level directory.
I have this working when I run "mvn package assembly:assembly", but I'd like to make it work for "mvn package" of my root pom.xml. Is it possible to use an <execution> to make this work? 2ndly, I'm using the assembly plugin to zip up static content in my WARs so it can be deployed to an external webserver. I have it working (details at http://www.nabble.com/Re%3A-Packaging-up-images-p9699901s177.html), but 1) I can't get one WAR to depend on these zipped artifacts and 2) I can't figure out how to get the top-level assembly to include the zip files. Currently, there are zip files created by an assembly in each WAR project. In an ideal world, I could combine these into one static-content.zip in the zip that's produced by the root assembly. Here's the bin.xml I'm using for my top-level assembly: <assembly> <id>bin</id> <formats> <format>zip</format> </formats> <includeBaseDirectory>false</includeBaseDirectory> <moduleSets> <moduleSet> <includes> <include>com.company:webapp1:war</include> <include>com.company:webapp2:war</include> </includes> <binaries> <outputDirectory></outputDirectory> <unpack>false</unpack> </binaries> </moduleSet> </moduleSets> </assembly> Thanks, Matt -- View this message in context: http://www.nabble.com/Using-the-assembly-plugin-to-package-up-WARs-and-ZIPs-tf3477317s177.html#a9706416 Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
