Skip to content

feat(ci): switch release-please to Maven (java) flow with snapshots#132

Merged
TheMeinerLP merged 1 commit into
mainfrom
feat/maven-release-please
Jun 21, 2026
Merged

feat(ci): switch release-please to Maven (java) flow with snapshots#132
TheMeinerLP merged 1 commit into
mainfrom
feat/maven-release-please

Conversation

@TheMeinerLP

Copy link
Copy Markdown
Contributor

Re-applies the Maven conversion that was part of #131 but did not make it onto main (only the docker-split commit got merged). Cherry-picked cleanly onto current main (now at 1.14.1).

Mirrors the Vulpes-Backend release pipeline.

Changes

  • release-please-config.json: package switched to release-type: java so release-please manages the Maven SNAPSHOT lifecycle (release → bump to next -SNAPSHOT); extra-files uses the generic updater for gradle.properties.
  • release-please.yml: add the snapshot CI matching the release path:
    • version job reads gradle.properties on non-release pushes
    • publish-snapshot → snapshot Maven repo (java-client / velocity-plugin already route SNAPSHOT/BETA/ALPHA there)
    • build-context-snapshot + docker-snapshot build & push a snapshot image on every non-release push

After merge

Expect release-please to open a 1.14.2-SNAPSHOT bump PR (the java strategy's release↔snapshot dance, same as Vulpes). gradle.properties is intentionally left at 1.14.1 — release-please drives it from here. Snapshot jobs stay skipped until the version is a -SNAPSHOT.

No dependency on other PRs — v2.3.0 and the docker-split are already on main.

🤖 Generated with Claude Code

Mirror the Vulpes-Backend setup: use the `java` release-type so
release-please manages the Maven SNAPSHOT lifecycle (release -> bump to
next -SNAPSHOT) and drive the version in gradle.properties via the
generic updater.

Add the snapshot CI that flow implies, matching the release path:
- `version` job reads gradle.properties on non-release pushes
- `publish-snapshot` publishes to the snapshot Maven repo (java-client /
  velocity-plugin already route SNAPSHOT/BETA/ALPHA there)
- `build-context-snapshot` + `docker-snapshot` build & push a snapshot
  image on every non-release push

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

Test results

 6 files   6 suites   0s ⏱️
 5 tests  4 ✅ 1 💤 0 ❌
15 runs  12 ✅ 3 💤 0 ❌

Results for commit 5191dc4.

@TheMeinerLP TheMeinerLP merged commit cb4fb45 into main Jun 21, 2026
8 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.

1 participant