module KPM::Tasks

def pull_kp_server_war(version='LATEST')

def pull_kp_server_war(version='LATEST')
  installer = BaseInstaller.new(logger,
                                options[:overrides],
                                options[:ssl_verify])
  response = installer.install_killbill_server(KillbillServerArtifact::KILLBILL_GROUP_ID,
                                    KillbillServerArtifact::KILLPAY_ARTIFACT_ID,
                                    KillbillServerArtifact::KILLPAY_PACKAGING,
                                    KillbillServerArtifact::KILLPAY_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