Skip to content

Migrate to maven-publish with Maven Central auto-release - #37

Merged
GabrielBrasileiro merged 3 commits into
mainfrom
rule-based-compose-provider
Jul 26, 2026
Merged

Migrate to maven-publish with Maven Central auto-release#37
GabrielBrasileiro merged 3 commits into
mainfrom
rule-based-compose-provider

Conversation

@GabrielBrasileiro

Copy link
Copy Markdown
Owner

Summary

  • Switches combot's publishing setup from the legacy maven-publish plugin to com.vanniktech.maven.publish
  • Changes the published groupId to the GitHub-verified io.github.gabrielbrasileiro namespace (previously br.com.gabrielbrasileiro, which requires DNS domain ownership Central won't verify)
  • Applies the Compose BOM inside combot itself so published POM dependencies get explicit versions (previously only app applied it, leaving combot's POM with unversioned Compose deps)
  • Adds a CI step that publishes and auto-releases to Maven Central on new version tags on main, using ORG_GRADLE_PROJECT_* env vars sourced from GitHub Actions secrets

Test plan

  • Confirm io.github.gabrielbrasileiro namespace is verified on central.sonatype.com
  • Add the 4 required secrets in GitHub (MAVEN_CENTRAL_USERNAME, MAVEN_CENTRAL_PASSWORD, SIGNING_IN_MEMORY_KEY, SIGNING_IN_MEMORY_KEY_PASSWORD)
  • Merge to main and confirm the "Publish to Maven Central" CI step succeeds and the artifact appears on Maven Central

…poseTestRule

CombotAction and CombotAssert now delegate to the full ComposeTestRule API
instead of just semantics node querying, and CombotProvider/CombotRule were
updated to match. Tests updated to mock ComposeTestRule accordingly.
…lish

Migrates combot's publishing setup from the legacy maven-publish plugin
to com.vanniktech.maven.publish, switches the groupId to the
GitHub-verified io.github.gabrielbrasileiro namespace, and wires CI to
publish and auto-release to Maven Central on new version tags.
@GabrielBrasileiro GabrielBrasileiro changed the title Migrate to vanniktech maven-publish with Maven Central auto-release Migrate to maven-publish with Maven Central auto-release Jul 26, 2026
@GabrielBrasileiro
GabrielBrasileiro merged commit 341d94f into main Jul 26, 2026
1 check passed
@GabrielBrasileiro
GabrielBrasileiro deleted the rule-based-compose-provider branch July 26, 2026 22:15
@GabrielBrasileiro
GabrielBrasileiro restored the rule-based-compose-provider branch July 26, 2026 22:43
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.

1 participant