I believe this is a known issue. See MAVEN-611 -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/
Brent Hale <[EMAIL PROTECTED]> wrote on 07/08/2003 03:24:18 AM: > 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? > > Brent > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >
