Skip to content

chore: dedupe Maven Central Sonatype credentials in release-publish#740

Merged
denischilik merged 1 commit into
mainfrom
chore/dedupe-maven-central-keys
Jul 23, 2026
Merged

chore: dedupe Maven Central Sonatype credentials in release-publish#740
denischilik merged 1 commit into
mainfrom
chore/dedupe-maven-central-keys

Conversation

@denischilik

Copy link
Copy Markdown
Contributor

Background

The release-publish workflow carried two pairs of Sonatype credentials for Maven Central:

  • SONATYPE_NEXUS_USERNAME / SONATYPE_NEXUS_PASSWORD — used by the core + kits publish steps (com.mparticle).
  • ROKT_SONATYPE_NEXUS_USERNAME / ROKT_SONATYPE_NEXUS_PASSWORD — used only by the rokt-sdk-plus publish step (com.rokt).

Both pairs resolve to the same Sonatype account, which owns both the com.mparticle and com.rokt namespaces, so the ROKT_-prefixed pair is redundant.

What changed

  • The Publish rokt-sdk-plus to Maven Central step now reads the shared SONATYPE_NEXUS_USERNAME / SONATYPE_NEXUS_PASSWORD secrets instead of the ROKT_-prefixed duplicates.
  • The Rokt signing key (ROKT_MAVEN_CENTRAL_SIGNING_KEY / ..._PASSWORD) is intentionally left in place — it is a distinct key kept for com.rokt artifact provenance, not a duplicate.
  • No GitHub secrets were added, changed, or removed. ROKT_SONATYPE_NEXUS_* are now unreferenced and can be deleted separately if desired.

Test plan

  • Next release (VERSION change on main) publishes com.mparticle:* and com.rokt:rokt-sdk-plus to Maven Central with the shared Sonatype credentials.

The rokt-sdk-plus publish step referenced ROKT_SONATYPE_NEXUS_* while the
core/kits steps use SONATYPE_NEXUS_*. Both point at the same Sonatype account
(which owns both the com.mparticle and com.rokt namespaces), so the duplicate
pair is unnecessary. Point the rokt-sdk-plus step at the shared
SONATYPE_NEXUS_* credentials. The Rokt signing key is intentionally kept
distinct for com.rokt provenance.
@denischilik
denischilik requested a review from a team as a code owner July 23, 2026 12:59
@cursor

cursor Bot commented Jul 23, 2026

Copy link
Copy Markdown

PR Summary

Cursor Bugbot is generating a summary for commit 5713b85. Configure here.

@sonarqubecloud

Copy link
Copy Markdown

@denischilik
denischilik merged commit eb9556d into main Jul 23, 2026
41 of 42 checks passed
@denischilik
denischilik deleted the chore/dedupe-maven-central-keys branch July 23, 2026 13:44
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