mirror of https://github.com/apache/maven.git
PR: MNG-2282
Also catch TransferFailedException, which occurs when java.net.ConnectException or java.net.UnknownHostException occur. git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@406673 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8469b7e667
commit
65b412ea17
|
@ -253,6 +253,11 @@ public class DefaultWagonManager
|
|||
getLogger().warn(
|
||||
"Unable to get resource from repository " + repository.getId() + " (" + repository.getUrl() + ")" );
|
||||
}
|
||||
catch ( TransferFailedException e )
|
||||
{
|
||||
getLogger().warn(
|
||||
"Unable to get resource from repository " + repository.getId() + " (" + repository.getUrl() + ")" );
|
||||
}
|
||||
}
|
||||
|
||||
if ( !successful )
|
||||
|
|
Loading…
Reference in New Issue