Which maven release are you using ? In one of the subprojects, do you use another multiproject goal ?
Arnaud On 2/16/06, Manisha Sur <[EMAIL PROTECTED]> wrote: > Hi , > > i have a goal defined in the root's maven.xml as follows: > > <goal name="petstore:build"> > <j:set var="goal" value="clean,petstore:build"/> > <attainGoal name="multiproject:goal"/> > </goal> > > the intent is to run clean for each of the subprojects and then run the > custom 'petstore:build' goal for each subproject. > each of the subproject defines the petstore:build goal in the maven.xml , > with there respective install like : > > <goal name="petstore:build" prereqs="ejb:install"/> > > when i run the petstore:build goal from the root, only the clean goal gets > executed. no ejb:install is called for the subproject. > But If i run "maven multiproject:goal -Dgoal=clean,petstore:build" from the > root, it does both the clean and install. > so why its not working in the first case ? how to tackle this problem ? > > -- > Warm Regards > Manisha Sur > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
