From 2fec454098c56aa12cdac065913a01bf291ae5cb Mon Sep 17 00:00:00 2001 From: Stian Thorgersen Date: Fri, 25 Mar 2022 11:37:40 +0100 Subject: [PATCH] Switch to OSSRH (#2334) --- keycloak-theme/pom.xml | 49 ++++++++++++++++++++++++++++++++++++++---- release.sh | 2 +- 2 files changed, 46 insertions(+), 5 deletions(-) diff --git a/keycloak-theme/pom.xml b/keycloak-theme/pom.xml index ac2d4d8bec..c3a26c3a3e 100644 --- a/keycloak-theme/pom.xml +++ b/keycloak-theme/pom.xml @@ -25,6 +25,12 @@ Keycloak Administration UI + https://s01.oss.sonatype.org/ + jboss-releases-repository + https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/ + jboss-snapshots-repository + https://s01.oss.sonatype.org/content/repositories/snapshots/ + 1.6.12 @@ -64,10 +70,15 @@ nexus-staging - jboss-releases-repository + ${jboss.releases.repo.id} JBoss Releases Repository - https://repository.jboss.org/nexus/service/local/staging/deploy/maven2/ + ${jboss.releases.repo.url} + + ${jboss.snapshots.repo.id} + JBoss Snapshots Repository + ${jboss.snapshots.repo.url} + @@ -78,6 +89,36 @@ + + gpg + + + + org.apache.maven.plugins + maven-gpg-plugin + 3.0.1 + + + sign-artifacts + verify + + sign + + + + --batch + --pinentry-mode + loopback + + + + + + + + + + @@ -89,8 +130,8 @@ ${nexus.staging.plugin.version} true - https://repository.jboss.org/nexus - jboss-releases-repository + ${jboss.releases.repo.id} + ${jboss.repo.nexusUrl} diff --git a/release.sh b/release.sh index 02f48b4010..0d6f2606cd 100755 --- a/release.sh +++ b/release.sh @@ -7,7 +7,7 @@ echo "-------------------------------------------------------------------------- echo "Building:" echo "" -mvn --file=./keycloak-theme/pom.xml -Pnexus-staging -DretryFailedDeploymentCount=10 -DautoReleaseAfterClose=true clean deploy +mvn --file=./keycloak-theme/pom.xml -Pnexus-staging,gpg -DretryFailedDeploymentCount=10 -DautoReleaseAfterClose=true clean deploy echo "------------------------------------------------------------------------------------------------------------" echo "Create tag:"