mirror of https://github.com/apache/maven.git
[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:
parent
c7738df560
commit
72f6f6d29e
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue