From 7b760841ad5bb2f38d2eea84f09359beb9f76f69 Mon Sep 17 00:00:00 2001 From: Liao Xin <93535922+liewstar@users.noreply.github.com> Date: Wed, 2 Oct 2024 16:46:40 +0800 Subject: [PATCH] feat: fix pom.xml to fix CI for publishing to https://central.sonatype.com (#21) --- pom.xml | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/pom.xml b/pom.xml index 499b422..d587e81 100644 --- a/pom.xml +++ b/pom.xml @@ -24,7 +24,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 @@ -54,12 +54,8 @@ ossrh - https://oss.sonatype.org/content/repositories/snapshots + https://central.sonatype.com - - ossrh - https://oss.sonatype.org/service/local/staging/deploy/maven2/ - @@ -133,15 +129,15 @@ - org.sonatype.plugins - nexus-staging-maven-plugin - 1.6.7 + org.sonatype.central + central-publishing-maven-plugin + 0.5.0 true - ossrh - https://oss.sonatype.org/ + ossrh + true - true + true