Hi Karl, That is effectively what I have so far. Except there are also some jar projects in the structure too which more than 1 module will reference. (This is to avoid sub-child modules being added to the reactor list more than once.) At the moment I don't think the jar modules get compiled/deployed when i build the war. i'd really like to know how to achieve this! Can I not use maven-assembly before building the war to solve the jar/deployment issue and/or build 4 war files from 1 maven invocation?
Again, any real world working examples of this sort of project would be greatly appreciated! Regards, Adam On 6 April 2011 15:27, Karl Heinz Marbaise <khmarba...@gmx.de> wrote: > Hi Adam, > > > What I would like is a top level pom which upon doing mvn package it will > > produce my 4 WAR files by compiling all child modules AND jars. > > Each WAR file is comprised of a number of modules and some of the > multiple > > modules have a dependency on in-house compiled jars. Ideally when > building > > the WARs I'd like all of the child modules and jars built/deployed. > > That sound's you're trying a wrong thing, cause a war should be produced by > the Maven War Plugin and not via maven-assembly-plugin... > I would suggest to use a structure like this: > > root > +-- pom.xml > +-- m1 > +-- m2 > +-- m3 > +-- m4 > +-- m5 > +-- war1 (m1,m2,m3) > +-- war2 (m4) > +-- war3 (m5) > > Kind regards > Karl Heinz Marbaise > -- > MfG > Karl Heinz Marbaise > -- > SoftwareEntwicklung Beratung Schulung Tel.: +49 (0) 2405 / 415 893 > Dipl.Ing.(FH) Karl Heinz Marbaise ICQ#: 135949029 > Hauptstrasse 177 USt.IdNr: DE191347579 > 52146 Würselen http://www.soebes.de > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > >