You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Benjamin Bentmann <be...@udo.edu> on 2007/11/01 20:57:25 UTC

Re: Execution of a AbstractMojoTestCase test from within Eclipse


Benjamin Bentmann wrote:
> 
> The later one gets the mojo from the caller and hence needs no lookup from
> the Plexus container.
> 

A warning:
Not looking up the mojo from the container seems to have a drawback:
Injection of components into mojo fields annotated with "@component" is
disabled and needs to be manually performed (e.g. using
setVariableValueToObject() or similar).


Benjamin Bentmann
-- 
View this message in context: http://www.nabble.com/Execution-of-a-AbstractMojoTestCase-test-from-within-Eclipse-tf4034442s177.html#a13536244
Sent from the Maven Developers mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org