Skip to content

Conversation

rozza
Copy link
Member

@rozza rozza commented May 6, 2025

Log a warning if the signing keys are missing.

JAVA-5872

katcharov and others added 3 commits May 5, 2025 13:34
@rozza rozza requested review from jyemin and a team May 6, 2025 09:48
Copy link
Collaborator

@jyemin jyemin left a comment

Choose a reason for hiding this comment

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

LGTM after minor change to logging

useInMemoryPgpKeys(signingKey.get(), signingPassword.get())
sign(publishing.publications["maven"])
} else {
logger.warn("[${project.displayName}] No Signing keys found, skipping signing configuration")
Copy link
Collaborator

Choose a reason for hiding this comment

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

Let's make both the logging statements info, since it's normal to publish to the local repository without signing, and Sonatype won't let us release without signatures anyway.

@rozza rozza changed the base branch from 5.5.x to main May 6, 2025 13:42
@rozza rozza merged commit 4611ad6 into mongodb:main May 6, 2025
2 checks passed
@rozza rozza deleted the JAVA-5872 branch May 6, 2025 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.

3 participants