module KPM::Tasks

def pull_kb_server_war(version='LATEST')

def pull_kb_server_war(version='LATEST')
  installer = BaseInstaller.new(logger,
                                options[:overrides],
                                options[:ssl_verify])
  response = installer.install_killbill_server(KillbillServerArtifact::KILLBILL_GROUP_ID,
                                    KillbillServerArtifact::KILLBILL_ARTIFACT_ID,
                                    KillbillServerArtifact::KILLBILL_PACKAGING,
                                    KillbillServerArtifact::KILLBILL_CLASSIFIER,
                                    version,
                                    options[:destination],
                                    options[:bundles_dir],
                                    options[:force_download],
                                    options[:verify_sha1])
  say "Artifact has been retrieved and can be found at path: #{response[:file_path]}", :green
end