diff --git a/.github/workflows/build-and-release-package.yml b/.github/workflows/build-and-release-package.yml index 756c4ae..712892a 100644 --- a/.github/workflows/build-and-release-package.yml +++ b/.github/workflows/build-and-release-package.yml @@ -41,7 +41,7 @@ jobs: with: java-version: '11' distribution: 'adopt' - server-id: 'maven' + server-id: 'ossrh' server-username: MAVEN_USERNAME server-password: MAVEN_PASSWORD gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }} diff --git a/pom.xml b/pom.xml index 6f916e8..a2107c7 100644 --- a/pom.xml +++ b/pom.xml @@ -351,7 +351,7 @@ nexus-staging-maven-plugin true - maven + ossrh https://s01.oss.sonatype.org/ true