correct resolution bug when a new snapshot is downloaded

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163720 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2005-03-30 14:56:32 +00:00
parent 9209aaf3b6
commit 6f8b171aaf
1 changed files with 2 additions and 1 deletions

View File

@ -69,7 +69,6 @@ public class SnapshotTransformation
throw new ArtifactMetadataRetrievalException( "Error reading local metadata", e );
}
String version = localMetadata.constructVersion();
boolean alreadyResolved = alreadyResolved( artifact );
if ( !alreadyResolved )
{
@ -144,6 +143,8 @@ public class SnapshotTransformation
}
else
{
String version = localMetadata.constructVersion();
if ( getLogger().isInfoEnabled() )
{
if ( !version.equals( artifact.getBaseVersion() ) && !alreadyResolved )