diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b3f4b5486..bcd3735c3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -38,7 +38,7 @@ jobs: gpg_passphrase: ${{ secrets.gpg_passphrase }} nexus_username: ${{ secrets.nexus_username }} nexus_password: ${{ secrets.nexus_password }} - maven_goals_phases: clean -B release:prepare release:perform -Darguments="-DskipTests" -P central + maven_goals_phases: clean -B release:prepare release:perform -Darguments="-DskipTests" -P ossrh - name: Set up Java for publishing to GitHub Packages uses: actions/setup-java@v3 diff --git a/pom.xml b/pom.xml index 7d86947c2..da359ea10 100644 --- a/pom.xml +++ b/pom.xml @@ -226,16 +226,8 @@ - central + ossrh - - - - - - - - ossrh https://s01.oss.sonatype.org/content/repositories/snapshots/ @@ -266,7 +258,8 @@ true ossrh - https://oss.sonatype.org/ + + https://s01.oss.sonatype.org true