[MNG-2780] snapshots are not updated based on metadata deployed with uniqueVersion = false

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@496972 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2007-01-17 09:17:30 +00:00
parent c7738df560
commit 72f6f6d29e
1 changed files with 2 additions and 1 deletions

View File

@ -200,7 +200,7 @@ public class DefaultRepositoryMetadataManager
{ {
m.getVersioning().setSnapshot( new Snapshot() ); m.getVersioning().setSnapshot( new Snapshot() );
} }
/*
if ( !m.getVersioning().getSnapshot().isLocalCopy() ) if ( !m.getVersioning().getSnapshot().isLocalCopy() )
{ {
// TODO: I think this is incorrect (it results in localCopy set in a remote profile). Probably // TODO: I think this is incorrect (it results in localCopy set in a remote profile). Probably
@ -209,6 +209,7 @@ public class DefaultRepositoryMetadataManager
metadata.setMetadata( m ); metadata.setMetadata( m );
metadata.storeInLocalRepository( localRepository, repository ); metadata.storeInLocalRepository( localRepository, repository );
} }
*/
} }
else else
{ {