Module: Buildr4OSGi::BuildLibraries::SkipSourceDownload

Defined in:
lib/buildr4osgi/osgi/library_extension.rb

Overview

Monkey-patching the artifact so that it warns instead of failing when it cannot download the source

Instance Method Summary collapse

Instance Method Details

#fail_download(remote_uris) ⇒ Object



72
73
74
# File 'lib/buildr4osgi/osgi/library_extension.rb', line 72

def fail_download(remote_uris)
  warn "Failed to download the sources #{to_spec}, tried the following repositories:\n#{remote_uris.join("\n")}"
end