don't need to have it remotely if it is local, and don't care about updating legacy snapshots remotely anymore

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@170539 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2005-05-17 08:05:13 +00:00
parent f71776c9ff
commit 05a35236a5
1 changed files with 1 additions and 1 deletions

View File

@ -187,7 +187,7 @@ public class ArtifactDownloader
}
destinationFile = localRepository.getArtifactFile( dep );
if ( !destinationFile.exists() || version.indexOf( "SNAPSHOT" ) >= 0 )
if ( !destinationFile.exists() )
{
log( "Downloading " + url );
HttpUtils.getFile( url, destinationFile, ignoreErrors, useTimestamp, proxyHost, proxyPort,