} catch ( UnknownHostException ex ) {
//won't fail if you can't reach jboss repo
return;
}
final String finalFileName = System.getProperty( "java.io.tmpdir" ) + "/" + artifact.toFileName();
final File result = downloadFile( artifact.toURL( jbossReleaseRepo ),
finalFileName );
assertNotNull( result );
assertEquals( "47c645f0f605790b5d505c7d2f27b745",