ah cool, looks like something that could be written as a mojo? who knows my problem is that I am using Hudson to build a few multimodule projects, which will have an increasing number of WARs as the company grows
Hudson gives me convoluted URLs to specific builds, which I manually maintain in an ANT script (a script that is put onto target machines, and invoked to download all the WARs of a specific build) I would like all the WAR projects in my multimodule project to identify themselves to a running file, which could be an artifact itself; which could then be downloaded/included by my ant script, to make sure at any time, I have links to all the WARs in Hudson produced by a single build this is all so I don't have to maintain a list of tons and tons of WARs; I want it generated automatically S On Tue, Jul 6, 2010 at 4:01 PM, 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 > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org