This project uses GitHub Actions workflows from .github/workflows:
maven.ymlfor CI build and testdeploy.ymlfor publishing artifacts
- Confirm
maven.ymlis green on the target branch.- It runs
mvn -B clean package --file pom.xml -U. - It is triggered by pushes to
masteranddevelop, pull requests, and manual dispatch.
- It runs
- Confirm
deploy.ymlis present and configured for release publishing.- It is triggered by
release: createdand manual dispatch. - It publishes with
mvn -P sonatype,release -B deployandmvn -P github,release -B deploy.
- It is triggered by
- Ensure repository secrets required by
deploy.ymlare available:CENTRAL_USERNAMECENTRAL_PASSWORDGPG_PRIVATE_KEYPASSPHRASE
- Update all module
pom.xmlversions from*-SNAPSHOTto the release version (for example0.2.2). - Update
CHANGES.mdwith release notes for the new version. - Update any versioned documentation snippets, such as
README.md. - Run local verification:
mvn -B clean package --file pom.xml -U
- Merge release-preparation changes to
master. - Create a GitHub release with tag
<version>frommaster.deploy.ymlis triggered byrelease: created.
- Use the release notes from
CHANGES.mdas the GitHub release notes. - Monitor the
Publish package to the Maven Central Repository and GitHub Packagesworkflow run.
- Verify artifacts are available on Maven Central.
- Verify artifacts are available on GitHub Packages.
- Confirm the tag and release notes are correct in GitHub Releases.