lib/kpm/installer.rb in kpm-0.1.7 vs lib/kpm/installer.rb in kpm-0.2.0

- old
+ new

@@ -79,21 +79,23 @@ 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'], nil, 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, false) end infos end def install_ruby_plugins(force_download, verify_sha1) return if @config['plugins'].nil? or @config['plugins']['ruby'].nil? + verify_jruby_jar=true infos = [] @config['plugins']['ruby'].each do |plugin| - 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) + 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, verify_jruby_jar) + verify_jruby_jar=false end infos end end