From bb3eda0dec9bb9fb8500c89dd4998bca170369ee Mon Sep 17 00:00:00 2001
From: liewstar <2935437378@qq.com>
Date: Fri, 27 Sep 2024 22:43:48 +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 c381c08..074f69a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -21,7 +21,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
@@ -46,12 +46,8 @@
ossrh
- https://oss.sonatype.org/content/repositories/snapshots
+ https://central.sonatype.com
-
- ossrh
- https://oss.sonatype.org/service/local/staging/deploy/maven2/
-
@@ -150,15 +146,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