lib/kpm/installer.rb in kpm-0.1.3 vs lib/kpm/installer.rb in kpm-0.1.4
- old
+ new
@@ -77,21 +77,21 @@
def install_java_plugins(force_download, verify_sha1)
return if @config['plugins'].nil? or @config['plugins']['java'].nil?
infos = []
@config['plugins']['java'].each do |plugin|
- infos << install_plugin(plugin['name'], plugin['group_id'], plugin['artifact_id'], plugin['packaging'], plugin['classifier'], plugin['version'], @config['plugins_dir'], 'java', force_download, verify_sha1)
+ infos << install_plugin(plugin['name'], nil, plugin['group_id'], plugin['artifact_id'], plugin['packaging'], plugin['classifier'], plugin['version'], @config['plugins_dir'], 'java', force_download, verify_sha1)
end
infos
end
def install_ruby_plugins(force_download, verify_sha1)
return if @config['plugins'].nil? or @config['plugins']['ruby'].nil?
infos = []
@config['plugins']['ruby'].each do |plugin|
- infos << install_plugin(plugin['name'], plugin['group_id'], plugin['artifact_id'], plugin['packaging'], plugin['classifier'], plugin['version'], @config['plugins_dir'], 'ruby', force_download, verify_sha1)
+ infos << install_plugin(plugin['name'], nil, plugin['group_id'], plugin['artifact_id'], plugin['packaging'], plugin['classifier'], plugin['version'], @config['plugins_dir'], 'ruby', force_download, verify_sha1)
end
infos
end
end