I define in the base project : 

<goal name="test:dist-all">
    <maven:reactor 
        basedir="${basedir}"
        includes="**/${pattern}/**/project.xml"
        excludes="project.xml"
        goals="test:dist"
        banner="Building"
        ignoreFailures="true"/>
  </goal>

and an pregoal of war:init

  <preGoal name="war:init">
    <attainGoal name="subwebapp:get-webapp"/>
    ...
  </preGoal>

In sub project, I do : <goal name="test:dist"   prereqs="war:war"/>

When I use maven war:war in the sub project it's ok my pregoal is call. 
But when I use maven test:dist-all in the base project directory the 
preGoal is not call.
Is someone know why ?

thanks,
Nicolas


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to