mirror of https://github.com/apache/maven.git
[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:
parent
68ebd39bd8
commit
9e678193cf
|
@ -56,9 +56,9 @@ public class DefaultMavenExecutionRequest
|
|||
|
||||
private boolean interactiveMode = true;
|
||||
|
||||
private boolean cacheTransferError = true;
|
||||
private boolean cacheTransferError;
|
||||
|
||||
private boolean cacheNotFound = true;
|
||||
private boolean cacheNotFound;
|
||||
|
||||
private List<Proxy> proxies;
|
||||
|
||||
|
|
|
@ -904,6 +904,9 @@ public class MavenCli
|
|||
request.setThreadCount( threadConfiguration.replace( "C", "" ).replace( "W", "" ).replace( "auto", "" ) );
|
||||
}
|
||||
|
||||
request.setCacheNotFound( true );
|
||||
request.setCacheTransferError( false );
|
||||
|
||||
return request;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue