RE: Embedder error when executing MOJO

2006-07-05 Thread hermod.opstvedt
: Wednesday, July 05, 2006 12:04 PM To: dev@maven.apache.org Subject: RE: Embedder error when executing MOJO Hi I have been messing around with this and have discovered something odd: If I add a main method to my mojo, which again calls execute(), and run it as a regular java class with, it runs fine

RE: Embedder error when executing MOJO

2006-07-05 Thread hermod.opstvedt
Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 05, 2006 10:27 AM To: dev@maven.apache.org Subject: Embedder error when executing MOJO Hi I have a mojo that calls the MavenExecutionRequest, and asks it to run archetype:create. When I try to run it, the Embedder

Embedder error when executing MOJO

2006-07-05 Thread hermod.opstvedt
Hi I have a mojo that calls the MavenExecutionRequest, and asks it to run archetyp:create. When I try to run it, the Embedder complains with the errormessage and stacktrace below. In short, it complains that there is no field ErrorDiagnostics in DefaultMaven. Why is the Embedder trying to acces