Skip to content

Conversation

@0marperez
Copy link
Contributor

Issue #, if available:
N/A

Description of changes:
Disables redundant artifacts signing done by JReleaser.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@0marperez 0marperez marked this pull request as ready for review September 3, 2025 17:39
mavenCentral {
create("maven-central") {
active = Active.ALWAYS // the Maven deployer default is ALWAYS, but MavenCentral is NEVER
sign = false // Signing is done when publishing, see the 'configurePublishing' function
Copy link
Member

Choose a reason for hiding this comment

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

This is the default value, we don't need to set it

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I read the documentation but I think it might be wrong. When I don't set it to false I get:

org.jreleaser.model.JReleaserException: JReleaser has not been properly configured.
deploy.maven.mavenCentral.maven-central.sign is set to `true` but the signing block is not enabled

Copy link
Member

Choose a reason for hiding this comment

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

OK we can configure it. Can you open a bug report to JReleaser?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Will do

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@0marperez 0marperez merged commit 899ccf3 into main Sep 3, 2025
7 checks passed
@0marperez 0marperez deleted the disable-jreleaser-signing branch September 3, 2025 18:38
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