Configure POM for automated Maven Central release#97
Merged
Conversation
3dgiordano
approved these changes
May 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces a comprehensive setup for publishing the project to Maven Central, including workflow automation, Maven configuration, and enhancements to the
pom.xmlfor compliance and artifact signing. The main changes automate the release process, add required metadata, and ensure artifacts are properly signed and published.Release automation and workflow:
.github/workflows/release.yml) to automate the release process, including version bumping, building, testing, deploying to Maven Central, and publishing GitHub releases. The workflow handles both release and next-SNAPSHOT versioning..github/maven-central-deploy.sh) to import GPG keys and deploy artifacts to Maven Central using Maven, integrating with the workflow.Maven Central publishing configuration:
.github/settings.xml) to configure authentication and GPG parameters for publishing to Maven Central, using environment variables for credentials and GPG configuration.pom.xmlwith required metadata for Maven Central (license, SCM, developers, URL) and added plugins for source/javadoc JARs, GPG signing, and publishing via the Sonatype Central plugin. [1] [2]Other improvements:
pom.xmlto improve readability and structure.