static URLSpec getReleaseDownloadUrl ( String path , MavenSettings settings ) throws IOException { String url = settings . mCentralUrl ; if ( settings . mMirrorUrl != null ) url = settings . mMirrorUrl ; return new URLSpec ( url + path , settings . mProxyHost , settings . mProxyPort ) ; }
get release download URL