From 6a21591e611640e20c446f80cb3ff431091b33ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=99=93=E4=BC=9F?= Date: Mon, 19 May 2025 09:19:02 +0800 Subject: [PATCH] :wrench: use Maven Central Portal https://github.com/alibaba/nacos/issues/13358 settings.xml servers use: central ${CENTRAL_USERNAME} ${CENTRAL_PASSWORD} --- pom.xml | 48 +++++++++++++++++++++++++++-------- sa-token-bom/pom.xml | 4 +++ sa-token-dependencies/pom.xml | 47 +++++++++++++++++++++++++++------- 3 files changed, 80 insertions(+), 19 deletions(-) diff --git a/pom.xml b/pom.xml index 596adba2..ffcf9406 100644 --- a/pom.xml +++ b/pom.xml @@ -41,6 +41,11 @@ 1.8 utf-8 utf-8 + + + 3.2.7 + + 0.7.0 @@ -59,15 +64,6 @@ - - - - org.sonatype.oss - oss-parent - 7 - - - @@ -159,7 +155,28 @@ - + + + org.apache.maven.plugins + maven-gpg-plugin + + + sign-artifacts + verify + + sign + + + + + + org.sonatype.central + central-publishing-maven-plugin + true + + central + + @@ -187,6 +204,17 @@ + + + org.apache.maven.plugins + maven-gpg-plugin + ${maven-gpg-plugin.version} + + + org.sonatype.central + central-publishing-maven-plugin + ${central.publishing.maven.version} + diff --git a/sa-token-bom/pom.xml b/sa-token-bom/pom.xml index 220b6585..850e83ad 100644 --- a/sa-token-bom/pom.xml +++ b/sa-token-bom/pom.xml @@ -14,6 +14,10 @@ 1.44.0 + + 3.2.7 + + 0.7.0 diff --git a/sa-token-dependencies/pom.xml b/sa-token-dependencies/pom.xml index 1701c921..3ba06b61 100644 --- a/sa-token-dependencies/pom.xml +++ b/sa-token-dependencies/pom.xml @@ -43,6 +43,11 @@ 3.2.0 1.6.4 4.1.0 + + + 3.2.7 + + 0.7.0 @@ -323,14 +328,6 @@ - - - - org.sonatype.oss - oss-parent - 7 - - @@ -372,7 +369,28 @@ - + + + org.apache.maven.plugins + maven-gpg-plugin + + + sign-artifacts + verify + + sign + + + + + + org.sonatype.central + central-publishing-maven-plugin + true + + central + + @@ -400,6 +418,17 @@ + + + org.apache.maven.plugins + maven-gpg-plugin + ${maven-gpg-plugin.version} + + + org.sonatype.central + central-publishing-maven-plugin + ${central.publishing.maven.version} +