You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Ni...@arsoe-trelaze.com on 2003/08/08 17:34:26 UTC

multiproject: preGoal is not call

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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: multiproject: preGoal is not call

Posted by di...@multitask.com.au.
This isn't using multiproject at all???
--
dIon Gillard, Multitask Consulting
Blog:      http://blogs.codehaus.org/people/dion/


Nicolas.CHALUMEAU@arsoe-trelaze.com wrote on 09/08/2003 01:34:26 AM:

> 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>