From a051587d3efdd4b368249437a371bd7bab6ee335 Mon Sep 17 00:00:00 2001 From: Binary Wang Date: Tue, 13 May 2025 12:43:51 +0800 Subject: [PATCH] =?UTF-8?q?:construction=5Fworker:=20=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E6=9E=84=E5=BB=BA=E8=BF=81=E7=A7=BB=E5=88=B0maven=20central=20?= =?UTF-8?q?portal?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/maven-publish.yml | 2 +- pom.xml | 24 ++++++------------------ 2 files changed, 7 insertions(+), 19 deletions(-) diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml index 9bcd3c747..c8725979c 100644 --- a/.github/workflows/maven-publish.yml +++ b/.github/workflows/maven-publish.yml @@ -21,7 +21,7 @@ jobs: with: java-version: '8' distribution: 'temurin' - server-id: ossrh + server-id: central server-username: MAVEN_USERNAME server-password: MAVEN_PASSWORD gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }} diff --git a/pom.xml b/pom.xml index 861bbbf1e..48b2795f0 100644 --- a/pom.xml +++ b/pom.xml @@ -330,18 +330,6 @@ - - - ossrh - https://oss.sonatype.org/content/repositories/snapshots - - - ossrh - OSSRH Repository - https://oss.sonatype.org/service/local/staging/deploy/maven2/ - - - doclint-java8-disable @@ -431,14 +419,14 @@ - org.sonatype.plugins - nexus-staging-maven-plugin - 1.6.3 + org.sonatype.central + central-publishing-maven-plugin + 0.7.0 true - ossrh - https://oss.sonatype.org/ - true + Release WxJava:${project.version} + central + true