diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1b464b21c3c..b73e5c39f59 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -158,5 +158,5 @@ jobs: mvn clean install -B -U -e -Pdeploying - name: Deploy snapshot artifacts run: | - echo "central${{ secrets.CI_DEPLOY_USERNAME }}${{ secrets.CI_DEPLOY_PASSWORD }}" > $HOME/.m2/settings.xml + echo "ossrh${{ secrets.CI_DEPLOY_USERNAME }}${{ secrets.CI_DEPLOY_PASSWORD }}" > $HOME/.m2/settings.xml mvn deploy -Pdeploying -B -e -Dmaven.test.skip=true diff --git a/RELEASE.md b/RELEASE.md index 70b79d5f8ad..66bd9dfaa9e 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -133,14 +133,14 @@ for temporary staging. - ossrh - ${SONATYPE_USERNAME} - ${SONATYPE_PASSWORD} + central + ${USERNAME} + ${PASSWORD} - ossrh-staging - ${SONATYPE_USERNAME} - ${SONATYPE_PASSWORD} + central-staging + ${USERNAME} + ${PASSWORD} @@ -178,9 +178,7 @@ for temporary staging. Some things of note: - For details, look at the [Sonatype guide](http://central.sonatype.org/pages/releasing-the-deployment.html). - - Syncing with [Maven Central](http://repo1.maven.org/maven2/org/tensorflow/) - can take 10 minutes to 2 hours (as per the [OSSRH - guide](http://central.sonatype.org/pages/ossrh-guide.html#releasing-to-central)). + - Syncing with [Maven Central](http://repo1.maven.org/maven2/org/tensorflow/) can take 10 minutes to 2 hours. ### Finishing a release @@ -223,6 +221,4 @@ Some things of note: ## References -- [Sonatype guide](http://central.sonatype.org/pages/ossrh-guide.html) for - hosting releases. -- [Ticket that created the `org/tensorflow` configuration](https://issues.sonatype.org/browse/OSSRH-28072) on OSSRH. +- [Maven Central guide](https://central.sonatype.org/register/central-portal/) for hosting releases. diff --git a/pom.xml b/pom.xml index cd986f316a8..ef93c5c1ad1 100644 --- a/pom.xml +++ b/pom.xml @@ -55,9 +55,9 @@ - ossrh-snapshots - OSSRH Sonatype Snapshots - https://oss.sonatype.org/content/repositories/snapshots + central-snapshots + Maven Central Snapshots + https://central.sonatype.com/repository/maven-snapshots/ false @@ -69,9 +69,9 @@ - ossrh-snapshots - OSSRH Sonatype Snapshots - https://oss.sonatype.org/content/repositories/snapshots + central-snapshots + Maven Central Plugin Snapshots + https://central.sonatype.com/repository/maven-snapshots/ false