Sha256: 58d7556c87e10a0a5bcae2ec4f502980cee7d9abda4e5bd59666437acf4bcbd1
Contents?: true
Size: 505 Bytes
Versions: 20
Compression:
Stored size: 505 Bytes
Contents
# encoding: UTF-8 require "pathname" module Gjp # attempts to get a pom's parent pom class ParentPomGetter include Logger # returns the pom's parent, if any def get_parent_pom(filename) begin pom = Pom.new(filename) site = MavenWebsite.new site.download_pom(pom.parent_group_id, pom.parent_artifact_id, pom.parent_version) rescue RestClient::ResourceNotFound $stderr.puts "Could not find a parent for this pom!" end end end end
Version data entries
20 entries across 20 versions & 1 rubygems