mirror of https://github.com/apache/maven.git
[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:
parent
219afd51b1
commit
8795579469
|
@ -245,6 +245,10 @@ public class PluginParameterExpressionEvaluator
|
|||
{
|
||||
value = lifecycleExecutionContext.getReports();
|
||||
}
|
||||
else if ("mojoExecution".equals(expression))
|
||||
{
|
||||
value = mojoExecution;
|
||||
}
|
||||
else if ( "project".equals( expression ) )
|
||||
{
|
||||
value = project;
|
||||
|
|
Loading…
Reference in New Issue