diff --git a/.github/workflows/cd-config.yml b/.github/workflows/cd-config.yml index 46b987c86e..f4d7090c5d 100644 --- a/.github/workflows/cd-config.yml +++ b/.github/workflows/cd-config.yml @@ -35,7 +35,7 @@ jobs: distribution: 'temurin' java-version: 17 cache: 'maven' - server-id: 'ossrh' + server-id: 'central' server-username: MAVEN_REPO_USERNAME server-password: MAVEN_REPO_TOKEN gpg-private-key: ${{ secrets.GPG_SIGNING_KEY }} diff --git a/pom.xml b/pom.xml index fc14ca3bb2..69f801f7d7 100644 --- a/pom.xml +++ b/pom.xml @@ -56,7 +56,6 @@ 3.4.2 3.11.2 5.0.0 - 1.7.0 12.1.2 3.9.0 3.26.0 @@ -64,6 +63,7 @@ 3.1.1 3.3.1 5.1.0.4751 + 0.7.0 3.3.1 3.5.3 @@ -124,16 +124,6 @@ - - Snapshot Repository - ossrh - https://s01.oss.sonatype.org/content/repositories/snapshots - - - Staging Repository - ossrh - https://s01.oss.sonatype.org/service/local/staging/deploy/maven2 - ${project.artifactId} ${project.baseUri} @@ -504,15 +494,9 @@ ${sonar.plugin.version} - org.sonatype.plugins - nexus-staging-maven-plugin - ${nexus.plugin.version} - true - - ossrh - https://s01.oss.sonatype.org/ - true - + org.sonatype.central + central-publishing-maven-plugin + ${sonatype.plugin.version} org.antlr @@ -656,6 +640,15 @@ ${nvd.api.datafeed} + + org.sonatype.central + central-publishing-maven-plugin + true + + central + true + +