revert previous change - if that problem is encountered an alternative solution will need to be found

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@225663 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2005-07-28 01:00:39 +00:00
parent f3b2f5a419
commit d389dffc68
1 changed files with 4 additions and 2 deletions

View File

@ -116,12 +116,14 @@ public abstract class AbstractVersionTransformation
VersionArtifactMetadata remoteMetadata;
checkedUpdates = true;
try
{
remoteMetadata = retrieveFromRemoteRepository( artifact, repository, localMetadata,
updatePolicy );
// we must only flag this after checking for updates, otherwise subsequent attempts will look
// for SNAPSHOT without checking the metadata
checkedUpdates = true;
}
catch ( ResourceDoesNotExistException e )
{