diff --git a/.github/maintainers_guide.md b/.github/maintainers_guide.md index 30b8c1ca1..6c2aa1d62 100644 --- a/.github/maintainers_guide.md +++ b/.github/maintainers_guide.md @@ -89,8 +89,8 @@ Refer to the [README](https://github.com/slackapi/java-slack-sdk/blob/main/docs/ * Make sure the account you are using has the permission to make releases [under com.slack groupId](https://central.sonatype.com/publishing/com.slack/users) Place `$HOME/.m2/settings.xml` with your Sonatype account information. -* Generate user token: https://central.sonatype.org/publish/generate-token/ -* Set the user token id/password: https://central.sonatype.org/publish/publish-manual/#signing-components +* Generate user token: https://central.sonatype.org/publish/generate-portal-token/ +* Set the user token id/password: https://central.sonatype.org/publish/publish-portal-maven/#credentials ```xml @@ -99,12 +99,7 @@ Place `$HOME/.m2/settings.xml` with your Sonatype account information. ${your-username} ${your-password} - sonatype-nexus-staging - - - ${your-username} - ${your-password} - sonatype-nexus-snapshots + central diff --git a/pom.xml b/pom.xml index a12d7222c..71be07682 100644 --- a/pom.xml +++ b/pom.xml @@ -93,7 +93,7 @@ 3.2.0 3.2.0 2.8.1 - 1.6.8 + 0.8.0 0.8.7 3.2.5 1.6.10 @@ -271,14 +271,14 @@ - org.sonatype.plugins - nexus-staging-maven-plugin - ${nexus-staging-maven-plugin.version} + org.sonatype.central + central-publishing-maven-plugin + ${central-publishing-maven-plugin.version} true - sonatype-nexus-staging - https://oss.sonatype.org/ - 20 + central + true + false diff --git a/scripts/release.sh b/scripts/release.sh index 0013a779f..0d8b5bd88 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -28,6 +28,5 @@ else deploy \ -P production-releases \ -D maven.test.skip=true \ - ${exclusion} \ - nexus-staging:release + ${exclusion} fi