How are you invoking the goal in the child project? I'm not seeing the
same behavior here. I have the following goals:

Parent
------
check   - invokes multiproject with checkit goal
checkit - echos a message

Child (extends Parent)
-----
checkit - echos a different message

When I cd to the child project and run 'maven checkit' I just get the
child's output. When I run 'maven check', it invokes the parent's
check goal, but I do not get any messages from the parent's checkit
goal.

  Jeff

On Wed, 21 Jan 2004, at 15:41:51 [GMT +0200] Amnon Khen wrote:

> Hi,
 
> I have a maven project that extends another one, each of which has its own
> maven.xml. If I declare a goal with the same name in each maven.xml and
> invoke the child Maven project, the parent goal is the one that's executed.
> Is this the standard behavior? What can be done in order to avoid this?
 
> Thanks for your time, 
> Amnon

-- 
mailto:[EMAIL PROTECTED]



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

Reply via email to