Hi, Add a vote http://jira.codehaus.org/browse/MNG-1683 :-) IMHO, it's a better solution than using the assembly workaround.
I can't see any fix version to this. No chance to have this feature one day ? -- Olivier -----Message d'origine----- De : mraible [mailto:[EMAIL PROTECTED] Envoyé : mercredi 28 mars 2007 07:55 À : [email protected] Objet : Using the assembly plugin to package up WARs and ZIPs 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] This e-mail, any attachments and the information contained therein ("this message") are confidential and intended solely for the use of the addressee(s). If you have received this message in error please send it back to the sender and delete it. Unauthorized publication, use, dissemination or disclosure of this message, either in whole or in part is strictly prohibited. -------------------------------------------------------------------------------------------------------------- Ce message électronique et tous les fichiers joints ainsi que les informations contenues dans ce message ( ci après "le message" ), sont confidentiels et destinés exclusivement à l'usage de la personne à laquelle ils sont adressés. Si vous avez reçu ce message par erreur, merci de le renvoyer à son émetteur et de le détruire. Toutes diffusion, publication, totale ou partielle ou divulgation sous quelque forme que se soit non expressément autorisées de ce message, sont interdites. ------------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
