Good day to you, Jiaqi,

See the "http://docs.codehaus.org/display/MAVENUSER/Mojo+Developer+Cookbook";
section in [1].

Cheers,
Franz

[1] http://docs.codehaus.org/display/MAVENUSER/Mojo+Developer+Cookbook


Jiaqi Guo wrote:
> 
> I need some of the maven2 plugin's dependencies during execute() method 
> of a Mojo. In maven1 there's ${plugin.get...} that I can use in jelly 
> script, how can I do similar thing in maven2 Mojo class?  Thanks in
> advance.
> 
> I've tryed printing out getPluginContext() but it seems to return empty
> Map.
> 
> 
> Regards
> 
> -- 
> 
> 
> 
> Jiaqi Guo
> 
> http://www.cyclopsgroup.org
> [EMAIL PROTECTED]
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Can-I-get-MavenProject-instance-of-plugin-itself-within-a-Mojo--tf3217048s177.html#a8942573
Sent from the Maven - Users mailing list archive at Nabble.com.


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

Reply via email to