On Wed, 2003-08-06 at 13:24, Brent Hale wrote:
> I have a directory structure which includes subprojects some of which 
> have also have subprojects.  All project.xml files inherit from the 
> top-level parent.  The top level parent maven.xml file has in it the 
> following pregoal:
> 
>     <preGoal name="jar:jar">
>         <attainGoal name="someotherplugin:goal"/>
>     </preGoal>
> 
> This pregoal gets called correctly for each immediate subproject.  
> However for subprojects that have other subprojects (ones which have to 
> use the reactor to build other subprojects) it appears that the preGoal 
> is not being inherited.  My work-around is to put the above pregoal into 
> the maven.xml file of each parent that has subprojects.  I was thinking 
> (assuming) that the top-level pregoal should have been passed all the 
> way down.
> 
> Is this a bug or the way maven was designed to work?

It's a bug.

> Brent
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
-- 
jvz.

Jason van Zyl
[EMAIL PROTECTED]
http://tambora.zenplex.org

In short, man creates for himself a new religion of a rational
and technical order to justify his work and to be justified in it.
  
  -- Jacques Ellul, The Technological Society


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

Reply via email to