Skip to content

chore: update sonatype publishing plugin#83

Merged
dnwe merged 2 commits intomainfrom
ec/replace-nexus-maven-plugin-with-bob
May 7, 2026
Merged

chore: update sonatype publishing plugin#83
dnwe merged 2 commits intomainfrom
ec/replace-nexus-maven-plugin-with-bob

Conversation

@edoardocomar
Copy link
Copy Markdown
Member

based on
https://ralph.blog.imixs.com/2025/07/07/maven-sonatype-central-repository/
https://central.sonatype.org/publish/publish-portal-maven/#publishing-by-using-the-maven-plugin
https://central.sonatype.com/artifact/org.sonatype.central/central-publishing-maven-plugin

PR summary

PR Checklist

Please make sure that your PR fulfills the following requirements:

  • The commit message follows the Angular Commit Message Guidelines.
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

PR Type

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • New tests
  • Build/CI related changes
  • Documentation content changes
  • Other (please describe)

What is the current behavior?

What is the new behavior?

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

@edoardocomar edoardocomar force-pushed the ec/replace-nexus-maven-plugin-with-bob branch from 4252ae9 to 1c7caca Compare May 7, 2026 14:17
Copy link
Copy Markdown
Collaborator

@dnwe dnwe left a comment

Choose a reason for hiding this comment

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

Approved, though you might want to rename the ossrh_username and ossrh_password variables longer term too

- Remove distributionManagement repository from central profile: the
  central-publishing-maven-plugin uploads via its own API (deployment
  extension), so the repository URL is unused dead config.
- Change waitUntil from 'published' to 'validated' to avoid blocking
  CI for the full Maven Central propagation window (10-30+ minutes).
  'validated' still fails the build on bundle validation errors.
- Restore unrelated whitespace.

Signed-off-by: Edoardo Comar <edocomar@gmail.com>
@dnwe dnwe merged commit 5e8c6d9 into main May 7, 2026
7 checks passed
@dnwe dnwe deleted the ec/replace-nexus-maven-plugin-with-bob branch May 7, 2026 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants