diff --git a/scripts/jdbc_maven_deploy.py b/scripts/jdbc_maven_deploy.py index 1673519e..0a914fa8 100644 --- a/scripts/jdbc_maven_deploy.py +++ b/scripts/jdbc_maven_deploy.py @@ -182,7 +182,7 @@ def exec(cmd): shutil.copyfile(jar, os.path.join(results_dir, os.path.basename(jar))) print("JARs created, uploading (this can take a while!)") -deploy_cmd_prefix = 'mvn gpg:sign-and-deploy-file -DgpgArguments=--batch -Dpassphrase= -Durl=%s -DrepositoryId=ossrh' % deploy_url +deploy_cmd_prefix = 'mvn --no-transfer-progress gpg:sign-and-deploy-file -DgpgArguments=--batch,--pinentry-mode,loopback -Dpassphrase= -Durl=%s -DrepositoryId=ossrh' % deploy_url exec("%s -DpomFile=%s -Dfile=%s" % (deploy_cmd_prefix, pom, binary_jar)) exec("%s -Dclassifier=sources -DpomFile=%s -Dfile=%s" % (deploy_cmd_prefix, pom, sources_jar)) exec("%s -Dclassifier=javadoc -DpomFile=%s -Dfile=%s" % (deploy_cmd_prefix, pom, javadoc_jar))