I would probably set that up as follows: Default profile (in parent pom) only specifies <modules> which are jars War profile specifies all modules, jars and wars
When you want a jar-only build, you just execute "mvn install" at the parent. When you want wars too, you execute "mvn install -Dpluswars" at the parent. Wayne On 6/17/08, Ben Gidley <[EMAIL PROTECTED]> wrote: > Hi, > We have a multiproject which contains both war and jar projects. I would > like (in a profile) to disable the war projects from building their wars - > as it takes ages and we only need them now and then. > > Is this possible? > > So I want to run > mvn install -PnoWars > At the parent and get all the jars built but not the wars. > > Thanks > > Ben Gidley > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]