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
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ on:

jobs:
build:
uses: metricshub/workflows/.github/workflows/maven-build.yml@v4
uses: metricshub/workflows/.github/workflows/maven-build.yml@v7
with:
jdkVersion: "17"
debug: ${{ github.event_name == 'workflow_dispatch' && inputs.debug }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

jobs:
deploy:
uses: metricshub/workflows/.github/workflows/maven-central-deploy.yml@v4
uses: metricshub/workflows/.github/workflows/maven-central-deploy.yml@v7
with:
jdkVersion: "17"
secrets: inherit
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ on:

jobs:
release:
uses: metricshub/workflows/.github/workflows/maven-central-release.yml@v4
uses: metricshub/workflows/.github/workflows/maven-central-release.yml@v7

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Update the release instructions for Central Portal

With the v7 release workflow, releases use Central Publishing with server ID central, but README.md:55-62 still directs maintainers to the legacy s01.oss.sonatype.org repository, server ID ossrh, and Nexus staging console. Because autoRelease remains false, anyone following those instructions after a successful release will look in the wrong console and cannot publish the pending deployment; update the release documentation alongside this workflow migration.

AGENTS.md reference: AGENTS.md:L31-L35

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Done in 190f57d: the release instructions now point at the Central Portal (server id central, publish the pending deployment at https://central.sonatype.com/publishing/deployments since autoRelease is false).

with:
releaseVersion: ${{ inputs.releaseVersion }}
developmentVersion: ${{ inputs.developmentVersion }}
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,16 +50,16 @@ git config blame.ignoreRevsFile .git-blame-ignore-revs

## Release instructions

The artifact is deployed to Sonatype's [Maven Central](https://central.sonatype.com/).
The artifact is published to [Maven Central](https://central.sonatype.com/) through the
[Central Portal](https://central.sonatype.com/publishing) with the `central-publishing-maven-plugin` (server Id `central`,
authenticated with a Portal user token). Manual deployments require these credentials in your Maven `settings.xml`.

The actual repository URL is https://s01.oss.sonatype.org/, with server Id `ossrh` and requires credentials to deploy
artifacts manually.
It is strongly recommended to only use [GitHub Actions "Release to Maven Central"](actions/workflows/release.yml) to perform a release:

But it is strongly recommended to only use [GitHub Actions "Release to Maven Central"](actions/workflows/release.yml) to perform a release:

* Manually trigger the "Release" workflow
* Manually trigger the "Release to Maven Central" workflow
* Specify the version being released and the next version number (SNAPSHOT)
* Release the corresponding staging repository on [Sonatype's Nexus server](https://s01.oss.sonatype.org/)
* Publish the pending deployment on the [Central Portal](https://central.sonatype.com/publishing/deployments)
(the workflow uploads and validates it, but does not publish it automatically)
* Merge the PR that has been created to prepare the next version

## License
Expand Down
Loading