From 1f293b8d6d233e2d91216d94686cf2b66a4c073f Mon Sep 17 00:00:00 2001 From: Liao Xin <93535922+liewstar@users.noreply.github.com> Date: Fri, 27 Sep 2024 22:52:30 +0800 Subject: [PATCH] feat: fix pom.xml to fix CI for publishing to https://central.sonatype.com (#8) --- 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