mirror of https://github.com/apache/maven.git
when version is defined in plugin-management section, we need to use it in mojo binding.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@613256 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b731e783fa
commit
863d1fcb8c
|
@ -279,6 +279,9 @@ final class BindingUtils
|
|||
PluginExecution exec = (PluginExecution) plugin.getExecutionsAsMap().get( mojo.getExecutionId() );
|
||||
|
||||
mojo.setConfiguration( mergeConfigurations( plugin, exec ) );
|
||||
|
||||
mojo.setVersion( plugin.getVersion() );
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue