Skip to content

Fix snapshot publishing 403 by using Bearer token auth#8

Merged
ksletmoe merged 4 commits into
mainlinefrom
claude/debug-maven-publish-5g53m
Mar 15, 2026
Merged

Fix snapshot publishing 403 by using Bearer token auth#8
ksletmoe merged 4 commits into
mainlinefrom
claude/debug-maven-publish-5g53m

Conversation

@ksletmoe

Copy link
Copy Markdown
Owner

The Central Portal snapshot repository requires Bearer token authentication, but the nexus-publish-plugin sends Basic Auth credentials. This adds a separate Maven repository with proper HttpHeaderCredentials/Bearer auth for snapshot publishing, bypassing the nexus-publish-plugin for snapshots.

https://claude.ai/code/session_01DwyAdQfnkFXo1GPa7LGNpm

claude added 4 commits March 15, 2026 00:12
The Central Portal snapshot repository requires Bearer token authentication,
but the nexus-publish-plugin sends Basic Auth credentials. This adds a
separate Maven repository with proper HttpHeaderCredentials/Bearer auth
for snapshot publishing, bypassing the nexus-publish-plugin for snapshots.

https://claude.ai/code/session_01DwyAdQfnkFXo1GPa7LGNpm
Break the Bearer token construction across multiple lines to stay
within the 120-character max line length enforced by ktlint.

https://claude.ai/code/session_01DwyAdQfnkFXo1GPa7LGNpm
Start the chained call on a new line so ktlint doesn't flag
"multiline expression should start on a new line".

https://claude.ai/code/session_01DwyAdQfnkFXo1GPa7LGNpm
Put the value after '=' on its own line so ktlint's
"multiline expression should start on a new line" rule passes.

https://claude.ai/code/session_01DwyAdQfnkFXo1GPa7LGNpm
@ksletmoe ksletmoe merged commit a580cbe into mainline Mar 15, 2026
2 checks passed
@ksletmoe ksletmoe deleted the claude/debug-maven-publish-5g53m branch March 15, 2026 05:06
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