[MNG-4592] Snapshot artifacts that could not be downloaded due to communication problems are "blacklisted" for a day by default.

o Disabled error cache but kept not-found caching for MNG-4343

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@995606 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benjamin Bentmann 2010-09-09 23:09:58 +00:00
parent 68ebd39bd8
commit 9e678193cf
2 changed files with 5 additions and 2 deletions

View File

@ -56,9 +56,9 @@ public class DefaultMavenExecutionRequest
private boolean interactiveMode = true; private boolean interactiveMode = true;
private boolean cacheTransferError = true; private boolean cacheTransferError;
private boolean cacheNotFound = true; private boolean cacheNotFound;
private List<Proxy> proxies; private List<Proxy> proxies;

View File

@ -904,6 +904,9 @@ public class MavenCli
request.setThreadCount( threadConfiguration.replace( "C", "" ).replace( "W", "" ).replace( "auto", "" ) ); request.setThreadCount( threadConfiguration.replace( "C", "" ).replace( "W", "" ).replace( "auto", "" ) );
} }
request.setCacheNotFound( true );
request.setCacheTransferError( false );
return request; return request;
} }