I'm including this as one of the use cases as we work through
http://jira.codehaus.org/browse/MNG-591

- Brett

On 7/24/05, Stephane Nicoll <[EMAIL PROTECTED]> wrote:
> Guys,
> 
> I am also trying to create testcases for an m2 plugin. For this I need
> an initialized MavenProject instance inside my test case (so that I
> have access to getArtifacts and co). Best would be to be able to
> initialize a Mojo with a particular POM.
> 
> Any idea how to do this?
> 
> Thanks,
> Stéphane
> 
> On 7/24/05, Brett Porter <[EMAIL PROTECTED]> wrote:
> > On 7/24/05, Peter van de Hoef <[EMAIL PROTECTED]> wrote:
> > > - If it is, how can this JLine issue be worked around? Is it possible to 
> > > disable the InputHandler?
> >
> > I think the batch mode flag should turn that off. If not, I'd consider
> > that a bug. We should also consider fixing the problem with jline if
> > possible.
> >
> > > - If not, how should it be done? I've studied the MavenCli class and 
> > > tried to mimic its behaviour by extending the
> > > testcase from PlexusTestCase in which an instance of Maven is created 
> > > with 'lookup( Maven.ROLE )'. Is this the way to go
> > > or is there a better way?
> >
> > That's closer to the expected way it will be done. We're expecting to
> > formalise and document how to embed Maven during the approaching beta
> > cycle.
> >
> > Cheers,
> > Brett
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> 
> --
> .::You're welcome ::.
>

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

Reply via email to