Skip to content

Setup SonarQube release and GitHub deployment#47

Merged
Baraujo25 merged 2 commits into
developmentfrom
MAVEN_CENTRAL_RELEASE
Jun 3, 2026
Merged

Setup SonarQube release and GitHub deployment#47
Baraujo25 merged 2 commits into
developmentfrom
MAVEN_CENTRAL_RELEASE

Conversation

@Baraujo25

Copy link
Copy Markdown
Collaborator

This pull request introduces a complete automation for releasing artifacts to Maven Central, including the necessary Maven configuration, a GitHub Actions workflow, and enhancements to the pom.xml for compliance with central repository requirements. The changes ensure releases are properly signed, documented, and published in a repeatable, secure way.

Release Automation and Workflow Integration:

  • Added a new GitHub Actions workflow (.github/workflows/release.yml) to automate the release process, including version setting, artifact building, signing, deployment to Maven Central, and updating the project version to the next snapshot.
  • Introduced a shell script (.github/maven-central-deploy.sh) for securely importing GPG keys and deploying artifacts to Maven Central using Maven.
  • Added a Maven settings file (.github/settings.xml) to configure authentication and GPG signing using GitHub Actions secrets and environment variables.

Maven Project Configuration Improvements:

  • Enhanced pom.xml with required metadata for Maven Central: added a project description, license, project URL, developer information, and improved SCM connection URLs. [1] [2]
  • Added a new Maven release profile to pom.xml that enforces no snapshot dependencies, attaches sources and javadocs, signs artifacts with GPG, and configures publishing via Sonatype Central.

The idea is to be able to layout the release automatically. This way,
when release happens, all jars for Jmeter-compatibility will be placed
int the release.
@Baraujo25 Baraujo25 merged commit fef8a45 into development Jun 3, 2026
1 check passed
@Baraujo25 Baraujo25 deleted the MAVEN_CENTRAL_RELEASE branch June 3, 2026 21:30
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