mirror of https://github.com/apache/maven.git
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:
parent
f71776c9ff
commit
05a35236a5
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue