lib/kpm/killbill_server_artifact.rb in kpm-0.5.3 vs lib/kpm/killbill_server_artifact.rb in kpm-0.6.0

- old
+ new

@@ -7,10 +7,10 @@ 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 = 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 } + response.elements.each('searchNGResponse/data/artifact/version') { |element| versions << element.text } versions end def info(version='LATEST', overrides={}, ssl_verify=true) logger = Logger.new(STDOUT)