From 5c82aa7cfacc67d1f9c45ec9b869d300a443f2c5 Mon Sep 17 00:00:00 2001 From: Jean-Pierre Portier Date: Tue, 19 Dec 2023 16:53:36 +0100 Subject: [PATCH] ci: Support releasing by github action --- pom.xml | 39 ++++++++++++++++++++------------------- settings.xml | 2 +- 2 files changed, 21 insertions(+), 20 deletions(-) diff --git a/pom.xml b/pom.xml index a4a29e90..3e0c7c53 100644 --- a/pom.xml +++ b/pom.xml @@ -34,9 +34,9 @@ - https://github.com/sinch/sinch-sdk-java/tree/main - scm:git:git://github.com/sinch/sinch-sdk-java.git - scm:git:ssh://github.com:sinch/sinch-sdk-java.git + https://github.com/JPPortier/cloned.git + scm:git:${project.scm.url} + scm:git:${project.scm.url} @@ -76,7 +76,7 @@ 3.2.1 3.6.0 - 3.1.1 + 3.0.1 1.5 1.6.13 @@ -258,10 +258,14 @@ org.apache.maven.plugins - maven-deploy-plugin - ${maven-deploy-plugin.version} + maven-release-plugin + ${maven-release-plugin.version} - true + true + false + release + @{project.version} + deploy @@ -411,7 +415,14 @@ - deploy + release + + + performRelease + true + + + @@ -447,8 +458,7 @@ ${gpg.keyname} - ${gpg.keyname} - + ${gpg.passphrase} --pinentry-mode loopback @@ -462,15 +472,6 @@ nexus-staging-maven-plugin ${nexus-staging-maven-plugin} true - - - default-deploy - deploy - - deploy - - -