diff --git a/.github/workflows/maven-build.yml b/.github/workflows/maven-build.yml index 129d211..73ef359 100644 --- a/.github/workflows/maven-build.yml +++ b/.github/workflows/maven-build.yml @@ -60,7 +60,7 @@ jobs: with: servers: | [{ - "id": "sonatype-nexus-snapshots", + "id": "central", "username": "${{ secrets.SONATYPE_BOT_USERNAME }}", "password": "${{ secrets.SONATYPE_BOT_TOKEN }}" }] diff --git a/pom.xml b/pom.xml index 7ae299c..379f26d 100644 --- a/pom.xml +++ b/pom.xml @@ -73,6 +73,7 @@ 3.2.2 3.3.2 3.1.1 + 0.7.0 3.1.1 3.3.1 3.9.1 @@ -408,6 +409,15 @@ org.jacoco jacoco-maven-plugin + + org.sonatype.central + central-publishing-maven-plugin + ${version.plugin.sonatype} + true + + central + + @@ -493,23 +503,10 @@ - - - sonatype-nexus-staging - Release Repository - https://oss.sonatype.org/service/local/staging/deploy/maven2/ - - - sonatype-nexus-snapshots - Sonatype Nexus - https://oss.sonatype.org/content/repositories/snapshots - - - sonatype-snapshots - https://oss.sonatype.org/content/repositories/snapshots/ + https://central.sonatype.com/repository/maven-snapshots/ false true