write your own assembly descriptor. you can do exactly what you are after (i.e. copy all the war artifacts to ABC, copy all the jar artifacts to XYZ and wrap the whole thing up in a tar.gz file
-Stephen On 6 July 2010 21:01, Ron Wheeler <rwhee...@artifact-software.com> wrote: > On 06/07/2010 2:24 PM, Shan Syed wrote: > >> If I have a multi-module project made up of JARs and WARs and ZIPs >> and... etc is there a way to commit an action on, for example, all the >> WARs that were just built, without having to specify particular >> projects? >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org >> For additional commands, e-mail: users-h...@maven.apache.org >> >> >> >> > This is something that I have been asking about for the past 2 weeks with > no success so far. > > I have tried the > <artifactId>maven-assembly-plugin</artifactId> > <version>2.2-beta-2</version> > with a dependencySet > > It will bundle everything up but it unpacks all the dependencies of the JAR > files and builds an output file (tar and zip) in my case that includes all > the JARs that I have build which include their dependencies and adds the > dependencies again at the top level. > > It seems that there is no switch or option to tell the plug-in to just get > the JAR files that are dependencies of the packaging project and zip them up > without looking inside. > > In my case, I want a zip/tar pair that include all the WARs that will go > into tomcat/webapps and another pair that include all of the sharable JARs > that need to go into tomcat/lib. > > > Ron > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > >