# File lib/buildr/packaging/artifact.rb, line 452 def download_m2_snapshot(remote_uris) remote_uris.find do |repo_url| snapshot_url = current_snapshot_repo_url(repo_url) if snapshot_url begin download_artifact snapshot_url true rescue URI::NotFoundError false end else false end end or fail_download(remote_uris) end