mirror of
https://github.com/apache/maven.git
synced 2025-02-06 18:18:48 +00:00
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 @@ else if ( persistAnswer.indexOf( "o" ) > -1 )
|
||||
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…
x
Reference in New Issue
Block a user