mirror of https://github.com/apache/maven.git
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:
parent
f3b2f5a419
commit
d389dffc68
|
@ -116,12 +116,14 @@ public abstract class AbstractVersionTransformation
|
||||||
|
|
||||||
VersionArtifactMetadata remoteMetadata;
|
VersionArtifactMetadata remoteMetadata;
|
||||||
|
|
||||||
checkedUpdates = true;
|
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
remoteMetadata = retrieveFromRemoteRepository( artifact, repository, localMetadata,
|
remoteMetadata = retrieveFromRemoteRepository( artifact, repository, localMetadata,
|
||||||
updatePolicy );
|
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 )
|
catch ( ResourceDoesNotExistException e )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue