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:
Milos Kleint 2008-01-18 20:20:46 +00:00
parent b731e783fa
commit 863d1fcb8c
1 changed files with 3 additions and 0 deletions

View File

@ -279,6 +279,9 @@ final class BindingUtils
PluginExecution exec = (PluginExecution) plugin.getExecutionsAsMap().get( mojo.getExecutionId() );
mojo.setConfiguration( mergeConfigurations( plugin, exec ) );
mojo.setVersion( plugin.getVersion() );
}
}
}