Skip to content

Configure POM for automated Maven Central release#97

Merged
Baraujo25 merged 4 commits into
developmentfrom
MAVEN_CENTRAL_RELEASE
May 19, 2026
Merged

Configure POM for automated Maven Central release#97
Baraujo25 merged 4 commits into
developmentfrom
MAVEN_CENTRAL_RELEASE

Conversation

@Baraujo25
Copy link
Copy Markdown
Collaborator

This pull request introduces a comprehensive setup for publishing the project to Maven Central, including workflow automation, Maven configuration, and enhancements to the pom.xml for 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:

  • Added a new GitHub Actions 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.
  • Introduced a shell script (.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:

  • Added Maven settings file (.github/settings.xml) to configure authentication and GPG parameters for publishing to Maven Central, using environment variables for credentials and GPG configuration.
  • Enhanced pom.xml with 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:

  • Minor formatting and whitespace adjustments in pom.xml to improve readability and structure.

@Baraujo25 Baraujo25 marked this pull request as ready for review May 19, 2026 17:30
@Baraujo25 Baraujo25 merged commit 880c070 into development May 19, 2026
1 check passed
@Baraujo25 Baraujo25 deleted the MAVEN_CENTRAL_RELEASE branch May 19, 2026 17:36
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