[MNG-3062] Provide access to MojoExecution instance from plugin parameter expression ${mojoExecution}.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@565811 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
John Dennis Casey 2007-08-14 15:33:33 +00:00
parent 219afd51b1
commit 8795579469
1 changed files with 4 additions and 0 deletions

View File

@ -245,6 +245,10 @@ public class PluginParameterExpressionEvaluator
{
value = lifecycleExecutionContext.getReports();
}
else if ("mojoExecution".equals(expression))
{
value = mojoExecution;
}
else if ( "project".equals( expression ) )
{
value = project;