lib/java/artifact.rb in buildr-1.1.1 vs lib/java/artifact.rb in buildr-1.1.2

- old
+ new

@@ -379,9 +379,11 @@ rel_path = spec[:group].gsub(".", "/") + "/#{spec[:id]}/#{spec[:version]}/#{Artifact.hash_to_file_name(spec)}" Transports.perform URI.parse(repo_url.to_s), :proxy=>proxy do |http| mkpath File.dirname(path), :verbose=>false http.download(rel_path, path) + end + Transports.perform URI.parse(repo_url.to_s), :proxy=>proxy do |http| begin http.download(rel_path.ext("pom"), path.ext("pom")) rescue Transports::NotFound end end