mirror of https://github.com/apache/maven.git
ignore dud checksums... the repository ones are whacked
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164067 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
804e18cac0
commit
082bda52a0
|
@ -318,10 +318,13 @@ public class DefaultWagonManager
|
|||
String expectedChecksum = FileUtils.fileRead( checksumFile );
|
||||
if ( !expectedChecksum.equals( actualChecksum ) )
|
||||
{
|
||||
getLogger().warn(
|
||||
"*** CHECKSUM MISMATCH - currently disabled fail due to bad repository checksums ***" );
|
||||
|
||||
// TODO: optionally retry?
|
||||
throw new ChecksumFailedException(
|
||||
"Checksum failed on download: local = " + actualChecksum + "; remote = " +
|
||||
expectedChecksum );
|
||||
/* throw new ChecksumFailedException( "Checksum failed on download: local = '" + actualChecksum +
|
||||
"'; remote = '" + expectedChecksum + "'" );
|
||||
*/
|
||||
}
|
||||
}
|
||||
catch ( ResourceDoesNotExistException e )
|
||||
|
@ -446,5 +449,4 @@ public class DefaultWagonManager
|
|||
{
|
||||
this.downloadMonitor = downloadMonitor;
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue