mirror of https://github.com/apache/maven.git
o Fixed detection of local metadata corruption
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1056307 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
499e2d7ee7
commit
33ae0b2003
|
@ -294,8 +294,7 @@ public class DefaultVersionResolver
|
|||
*/
|
||||
if ( versioning != null && repository instanceof LocalRepository )
|
||||
{
|
||||
if ( !versioning.getSnapshotVersions().isEmpty()
|
||||
|| ( versioning.getSnapshot() != null && versioning.getSnapshot().getBuildNumber() > 0 ) )
|
||||
if ( versioning.getSnapshot() != null && versioning.getSnapshot().getBuildNumber() > 0 )
|
||||
{
|
||||
Versioning repaired = new Versioning();
|
||||
repaired.setLastUpdated( versioning.getLastUpdated() );
|
||||
|
|
Loading…
Reference in New Issue