From c8512850d408b5260ead7e7849b051f1a97ceca5 Mon Sep 17 00:00:00 2001 From: liewstar <2935437378@qq.com> Date: Fri, 27 Sep 2024 22:47:36 +0800 Subject: [PATCH] feat: fix pom.xml to fix CI for publishing to https://central.sonatype.com --- pom.xml | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/pom.xml b/pom.xml index 387332b..fb6fa47 100644 --- a/pom.xml +++ b/pom.xml @@ -16,7 +16,7 @@ The Apache Software License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt + https://www.apache.org/licenses/LICENSE-2.0.txt repo @@ -40,12 +40,8 @@ ossrh - https://oss.sonatype.org/content/repositories/snapshots + https://central.sonatype.com - - ossrh - https://oss.sonatype.org/service/local/staging/deploy/maven2/ - @@ -253,15 +249,15 @@ - org.sonatype.plugins - nexus-staging-maven-plugin - ${nexus-staging-maven-plugin.version} + org.sonatype.central + central-publishing-maven-plugin + 0.5.0 true - ossrh - https://oss.sonatype.org/ + ossrh + true - true + true