Can you check that you aren't using the same <id/> in the parent and derived
projects? I just filed a bug against this - it causes an "unknown" goal when
executing the project via the reactor.

- Brett

> -----Original Message-----
> From: Nathan Coast [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, 2 October 2003 1:33 PM
> To: Maven Dev
> Subject: reactor problem contd
> 
> 
> Hi,
> 
> there was a thread a few days ago relating to a goal executed 
> via the reactor 
> failing with the error "unknown goal".  The same goal 
> executed by the reactor 
> would execute fine when operated on a single project.
> 
http://www.mail-archive.com/[EMAIL PROTECTED]/msg03662.html

In addition to this, I'm not sure if this is the same problem or not
but.....

I see exactly the same problem when I have dependencies to plugins.  When I 
remove the dependencies, the reactor problems go away. I have checked that
the 
plugins installed and those available via the repository are identical.

In summary.

The multiproject:install goal is called.  this calls <type>:install.  I have
an 
ejb:ejb pregoal.  This calls goals in my plugins.

with plugins installed & no dependencies to plugins multiproject:install
executes fine, individual ejb:install, war:install etc. 
work fine.

with plugins available via dependencies
multiproject:install fails with unknown goal, individual ejb:install, 
war:install etc, work fine.

Does this help pinpoint where the problem might be.  Might be a red-herring
as 
when I encountered the problem originally (Sunday) I hadn't started using 
dependencies to plugins

cheers
Nathan




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

Reply via email to