mirror of https://github.com/apache/maven.git
Adding feedback for version-update prompt, and fixing bug with [a]ll selection.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@191618 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
be7f19382c
commit
ce0065fea3
|
@ -309,8 +309,17 @@ public class DefaultPluginVersionManager
|
|||
settings.getRuntimeInfo().setApplyToAllPluginUpdates( Boolean.FALSE );
|
||||
}
|
||||
}
|
||||
|
||||
return StringUtils.isEmpty( persistAnswer ) || "y".equalsIgnoreCase( persistAnswer );
|
||||
|
||||
if ( shouldPersist )
|
||||
{
|
||||
getLogger().info( "Updating plugin version to " + updatedVersion );
|
||||
}
|
||||
else
|
||||
{
|
||||
getLogger().info( "NOT updating plugin version to " + updatedVersion );
|
||||
}
|
||||
|
||||
return shouldPersist;
|
||||
|
||||
}
|
||||
catch ( Exception e )
|
||||
|
|
Loading…
Reference in New Issue