lib/kpm/killbill_server_artifact.rb in kpm-0.2.0 vs lib/kpm/killbill_server_artifact.rb in kpm-0.2.1
- old
+ new
@@ -4,10 +4,10 @@
module KPM
class KillbillServerArtifact < BaseArtifact
class << self
def versions(artifact_id, packaging=KPM::BaseArtifact::KILLBILL_PACKAGING, classifier=KPM::BaseArtifact::KILLBILL_CLASSIFIER, overrides={}, ssl_verify=true)
coordinate_map = {:group_id => KPM::BaseArtifact::KILLBILL_GROUP_ID, :artifact_id => artifact_id, :packaging => packaging, :classifier => classifier}
- coordinates = build_coordinates(coordinate_map)
+ coordinates = KPM::Coordinates.build_coordinates(coordinate_map)
response = REXML::Document.new nexus_remote(overrides, ssl_verify).search_for_artifacts(coordinates)
versions = SortedSet.new
response.elements.each('search-results/data/artifact/version') { |element| versions << element.text }
versions
end