From 15f7099af289a2dd42c2d68c55f14b47d381e476 Mon Sep 17 00:00:00 2001 From: William Cheng Date: Sun, 10 Aug 2025 22:35:58 +0800 Subject: [PATCH] clean up of sonatype references --- .github/workflows/maven.yml | 2 +- pom.xml | 20 +++----------------- 2 files changed, 4 insertions(+), 18 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 8c337389..2319723d 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -34,7 +34,7 @@ jobs: java-version: ${{ matrix.java_version }} cache: 'maven' # Value of the distributionManagement/repository/id field of the pom.xml - server-id: sonatype-nexus-snapshots + server-id: central server-username: OSS_USERNAME server-password: OSS_PASSWORD - name: Cache SonarCloud packages diff --git a/pom.xml b/pom.xml index 36fe9942..7b24e277 100644 --- a/pom.xml +++ b/pom.xml @@ -57,19 +57,6 @@ HEAD - - - sonatype-nexus-snapshots - Sonatype Nexus snapshot repository - https://oss.sonatype.org/content/repositories/snapshots - - - sonatype-nexus-staging - Sonatype Nexus release repository - https://oss.sonatype.org/service/local/staging/deploy/maven2/ - - - 1.8 1.8 @@ -331,10 +318,9 @@ 3.6.0 - org.sonatype.plugins - nexus-staging-maven-plugin - 1.7.0 - true + org.sonatype.central + central-publishing-maven-plugin + 0.7.0 org.jacoco