We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 682851a commit a806707Copy full SHA for a806707
modules/post/multi/gather/maven_creds.rb
@@ -61,7 +61,7 @@ def run
61
when 'unix', 'linux', 'bsd', 'osx'
62
files = gathernix
63
else
64
- print_error("Incompatible platform.")
+ print_error("Incompatible platform")
65
end
66
if files.nil? || files.empty?
67
print_error("No settings.xml file found")
@@ -97,6 +97,7 @@ def parse_settings(target, data)
97
98
print_status("Try to find url from id...")
99
realm = ""
100
+
101
xml_doc.xpath("//mirror[id = '#{id}']").each do |mirror|
102
realm = mirror.xpath("url").text
103
print_status("Found url in mirror : #{realm}")
0 commit comments