mirror of https://github.com/apache/maven.git
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 @@ public class ArtifactDownloader
|
||||||
log( "Downloading " + metaUrl );
|
log( "Downloading " + metaUrl );
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
HttpUtils.getFile( metaUrl, new File( filename ), ignoreErrors, useTimestamp, proxyHost,
|
HttpUtils.getFile( metaUrl, new File( filename ), ignoreErrors, false, proxyHost, proxyPort,
|
||||||
proxyPort, proxyUserName, proxyPassword, false );
|
proxyUserName, proxyPassword, false );
|
||||||
String version = FileUtils.fileRead( filename );
|
String version = FileUtils.fileRead( filename );
|
||||||
log( "Resolved version: " + version );
|
log( "Resolved version: " + version );
|
||||||
version = version.substring( version.lastIndexOf( "-", version.lastIndexOf( "-" ) - 1 ) + 1 );
|
version = version.substring( version.lastIndexOf( "-", version.lastIndexOf( "-" ) - 1 ) + 1 );
|
||||||
|
|
Loading…
Reference in New Issue