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:
John Dennis Casey 2005-06-21 02:56:23 +00:00
parent be7f19382c
commit ce0065fea3
1 changed files with 11 additions and 2 deletions

View File

@ -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 )