Skip to content

Publish to Maven Central and GitHub Packages, skip CI for docs-only changes - #12

Merged
simonebortolin merged 2 commits into
masterfrom
ccr-a2adee01-oq8jvw
Oct 24, 2026
Merged

simonebortolin merged 2 commits into
masterfrom
ccr-a2adee01-oq8jvw

Conversation

@simonebortolin

Copy link
Copy Markdown
Owner

Summary

  • Group io.github.simonebortolin for Maven Central and GitHub Packages; JitPack (which sets JITPACK) keeps com.github.simonebortolin.
  • POM metadata, javadoc jar and in-memory GPG signing required by Maven Central (signing only when the key is provided).
  • CI builds a signed Maven layout (publishReleasePublicationToStagingRepository), attests it together with the AAR/APK in the release job, then uploads the same files to:
    • GitHub Packages (GITHUB_TOKEN, packages: write)
    • Maven Central via the Central Portal API, waiting for validation. Skipped with a warning when the secrets are missing.
  • CI is not triggered by documentation-only changes (**.md, art/**).
  • Version bumped to 1.10.0; README installation instructions for Maven Central, JitPack and GitHub Packages, plus Maven Central badge.

Required secrets (before merging)

  • MAVEN_CENTRAL_USERNAME / MAVEN_CENTRAL_PASSWORD: Central Portal user token
  • SIGNING_KEY: gpg --armor --export-secret-keys <ID> (public key published on a keyserver)
  • SIGNING_PASSWORD: key passphrase

Test plan

  • CI tests and build on this PR produce the maven-1.10.0 artifact (unsigned on PRs)
  • After merge: release, GitHub Packages and Maven Central jobs succeed

Generated by Claude Code

- Group io.github.simonebortolin (JitPack keeps com.github.simonebortolin)
- POM metadata, javadoc jar and in-memory GPG signing required by Maven Central
- CI builds a signed Maven layout, attests it with the release and uploads
  the same files to GitHub Packages and to the Central Portal
- Installation instructions for Maven Central, JitPack and GitHub Packages

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QwfmMR3bsQCfffkJXMD6m2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QwfmMR3bsQCfffkJXMD6m2
@simonebortolin
simonebortolin merged commit dc122c8 into master Oct 24, 2026
10 checks passed
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