mirror of
https://github.com/apache/maven.git
synced 2025-03-07 00:59:51 +00:00
shouldn't check timestamp at all
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163959 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e2c9a495e7
commit
67f2147deb
@ -172,8 +172,8 @@ private boolean getRemoteArtifact( Dependency dep, File destinationFile )
|
||||
log( "Downloading " + metaUrl );
|
||||
try
|
||||
{
|
||||
HttpUtils.getFile( metaUrl, new File( filename ), ignoreErrors, useTimestamp, proxyHost,
|
||||
proxyPort, proxyUserName, proxyPassword, false );
|
||||
HttpUtils.getFile( metaUrl, new File( filename ), ignoreErrors, false, proxyHost, proxyPort,
|
||||
proxyUserName, proxyPassword, false );
|
||||
String version = FileUtils.fileRead( filename );
|
||||
log( "Resolved version: " + version );
|
||||
version = version.substring( version.lastIndexOf( "-", version.lastIndexOf( "-" ) - 1 ) + 1 );
|
||||
|
Loading…
x
Reference in New Issue
Block a user