diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2540275b5..1c656dc1b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -187,9 +187,8 @@ jobs: project: maven custom-command: cd concordium-sdk && mvn javadoc:javadoc -f pom.xml # Generates javadoc from the delombok'ed code - - name: Deploy to maven central repository - run: mvn -B clean deploy -Pci-cd + - name: Publish package to central maven repository + run: mvn --batch-mode deploy env: MAVEN_USERNAME: ${{ secrets.SONATYPE_USR }} MAVEN_PASSWORD: ${{ secrets.SONATYPE_PWD }} - MAVEN_GPG_PASSPHRASE: ${{ secrets.SONATYPE_PKEY }} diff --git a/concordium-sdk/pom.xml b/concordium-sdk/pom.xml index 5fdf3602a..d1ad14542 100644 --- a/concordium-sdk/pom.xml +++ b/concordium-sdk/pom.xml @@ -310,13 +310,10 @@ - - ossrh - https://oss.sonatype.org/content/repositories/snapshots - ossrh - https://oss.sonatype.org/service/local/staging/deploy/maven29 + Central Repository OSSRH + https://oss.sonatype.org/service/local/staging/deploy/maven2/ - +