mirror of https://github.com/apache/maven.git
MNG-3574 - project plugin meta version needs to be replaced with the resolved one.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@659463 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e458d85616
commit
ca2bb6a32f
|
@ -269,7 +269,9 @@ public class DefaultPluginManager
|
||||||
{
|
{
|
||||||
projectPlugin = plugin;
|
projectPlugin = plugin;
|
||||||
}
|
}
|
||||||
else if ( projectPlugin.getVersion() == null )
|
else if ( projectPlugin.getVersion() == null ||
|
||||||
|
Artifact.RELEASE_VERSION.equals(projectPlugin.getVersion()) ||
|
||||||
|
Artifact.LATEST_VERSION.equals(projectPlugin.getVersion()))
|
||||||
{
|
{
|
||||||
projectPlugin.setVersion( plugin.getVersion() );
|
projectPlugin.setVersion( plugin.getVersion() );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue