From 77df4e78608f1d8f3809e0b3c5afc6889167b2a8 Mon Sep 17 00:00:00 2001 From: Alex Date: Wed, 28 Feb 2024 12:09:57 +0200 Subject: [PATCH] Change sonatype repository (#574) * New sonatype repository * Disable failing tests * User new username and token for ossrh * Use different env vars * Fix spotless and re-enable test --------- Co-authored-by: stefan.spiska --- .github/workflows/build.yml | 4 ++-- bom/pom.xml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cd90718ef..916b1cdd5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -41,8 +41,8 @@ jobs: - name: Publish to Maven Central run: mvn -B deploy -P release -DskipTests env: - OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }} - OSSRH_TOKEN: ${{ secrets.OSSRH_TOKEN }} + OSSRH_USERNAME: ${{ secrets.S01_OSSRH_USERNAME }} + OSSRH_TOKEN: ${{ secrets.S01_OSSRH_TOKEN }} GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} - name: 'Trigger ehrbase:next build' diff --git a/bom/pom.xml b/bom/pom.xml index a37cdceab..3e21641e5 100644 --- a/bom/pom.xml +++ b/bom/pom.xml @@ -82,11 +82,11 @@ ossrh - https://oss.sonatype.org/content/repositories/snapshots + https://s01.oss.sonatype.org/content/repositories/snapshots ossrh - https://oss.sonatype.org/service/local/staging/deploy/maven2/ + https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/ @@ -384,7 +384,7 @@ true ossrh - https://oss.sonatype.org/ + https://s01.oss.sonatype.org/ true 30