Skip to content

Conversation

@lahirumaramba
Copy link
Member

Updates the release process to use the new Central Publisher Portal for deploying artifacts to Maven Central.

  • Replaces the nexus-staging-maven-plugin with the central-publishing-maven-plugin.
  • Updates the distributionManagement repository URL in pom.xml.
  • Modifies the publish script to use the central-publishing:publish goal.
  • Updates the release workflow to use token-based authentication secrets (CENTRAL_USERNAME, CENTRAL_TOKEN).
  • Adjusts settings.xml to use the new authentication tokens.

@lahirumaramba lahirumaramba force-pushed the feature/central-publishing-migration branch 5 times, most recently from 63db97d to 68c36f0 Compare September 4, 2025 21:28
@lahirumaramba lahirumaramba changed the title feat: Migrate to Central Publisher Portal chore: Migrate to Central Publisher Portal Sep 4, 2025
Updates the release process to use the new Central Publisher Portal for deploying artifacts to Maven Central.

- Replaces the nexus-staging-maven-plugin with the central-publishing-maven-plugin.
- Updates the distributionManagement repository URL in pom.xml.
- Modifies the publish script to use the central-publishing:publish goal.
- Updates the release workflow to use token-based authentication secrets (CENTRAL_USERNAME, CENTRAL_TOKEN).
- Adjusts settings.xml to use the new authentication tokens.
@lahirumaramba lahirumaramba force-pushed the feature/central-publishing-migration branch from 68c36f0 to 79acbbc Compare September 4, 2025 21:45
<tag>HEAD</tag>
</scm>

<distributionManagement>
Copy link
Member Author

Choose a reason for hiding this comment

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

The central-publishing-maven-plugin 0.7.0+ supports snapshot releases directly. Publishing with a -SNAPSHOT version will automatically upload the component to the right location.

Copy link
Contributor

@jonathanedey jonathanedey left a comment

Choose a reason for hiding this comment

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

LGTM, Thanks!

@lahirumaramba lahirumaramba merged commit 304a274 into master Sep 5, 2025
6 checks passed
@lahirumaramba lahirumaramba deleted the feature/central-publishing-migration branch September 5, 2025 16:25
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