Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 3 additions & 8 deletions .github/maintainers_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
<settings>
Expand All @@ -99,12 +99,7 @@ Place `$HOME/.m2/settings.xml` with your Sonatype account information.
<server>
<username>${your-username}</username>
<password>${your-password}</password>
<id>sonatype-nexus-staging</id>
</server>
<server>
<username>${your-username}</username>
<password>${your-password}</password>
<id>sonatype-nexus-snapshots</id>
<id>central</id>
</server>
</servers>
<pluginGroups>
Expand Down
14 changes: 7 additions & 7 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
<maven-javadoc-plugin.version>3.2.0</maven-javadoc-plugin.version>
<maven-jar-plugin.version>3.2.0</maven-jar-plugin.version>
<maven-versions-plugin.version>2.8.1</maven-versions-plugin.version>
<nexus-staging-maven-plugin.version>1.6.8</nexus-staging-maven-plugin.version>
<central-publishing-maven-plugin.version>0.8.0</central-publishing-maven-plugin.version>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

praise: Thanks for keeping this as a variable 🎁

<jacoco-maven-plugin.version>0.8.7</jacoco-maven-plugin.version>
<maven-surefire-plugin.version>3.2.5</maven-surefire-plugin.version>
<dokka.version>1.6.10</dokka.version>
Expand Down Expand Up @@ -271,14 +271,14 @@
</configuration>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>${nexus-staging-maven-plugin.version}</version>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>${central-publishing-maven-plugin.version}</version>
<extensions>true</extensions>
<configuration>
<serverId>sonatype-nexus-staging</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<stagingProgressTimeoutMinutes>20</stagingProgressTimeoutMinutes>
<publishingServerId>central</publishingServerId>
<autoPublish>true</autoPublish>
<skipPublishing>false</skipPublishing> <!-- Set to true to perform a dry run without publishing -->
</configuration>
</plugin>
<plugin>
Expand Down
3 changes: 1 addition & 2 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,5 @@ else
deploy \
-P production-releases \
-D maven.test.skip=true \
${exclusion} \
nexus-staging:release
${exclusion}
fi