Connect Java builds the platform plugins used by Connect endpoints. Treat plugin release, hub image rebuild, and production rollout as separate steps.
- The root worktree may contain active libp2p or transport feature branches. Do not modify an active worktree unless explicitly asked.
- For unrelated fixes or release docs, create a separate worktree from
origin/connect. - Preserve user changes. Never reset or force-clean active branches.
- Stable plugin artifacts are published from GitHub releases managed by
release-please.ymlon theconnectbranch. - Use Conventional Commit prefixes to drive releases:
fix:for patch,feat:for minor, andfeat!:/BREAKING CHANGE:for major. Non-release prefixes such aschore:,docs:,ci:, andtest:should not cut a stable release. release-please.ymlopens and auto-merges a release PR, creates the version tag/release, then dispatchesrelease.ymlon that tag so the JAR artifacts are uploaded. Do not manually bump versions or create release tags unless repairing automation.- The
release.ymlworkflow uploads:connect-spigot.jar,connect-velocity.jar,connect-bungee.jar, andLICENSE. - Pushes to
connectstill update thelatest-prereleaserelease for unreleased testing builds. - After creating a release, verify the release is not draft/prerelease unless intentionally so, and verify the asset digest/availability:
gh -R minekube/connect-java release view <version> --json tagName,targetCommitish,isDraft,isPrerelease,assets
curl -I -L --fail https://github.com/minekube/connect-java/releases/download/<version>/connect-velocity.jar- For Velocity proxy issues, test both
CONFIGURATIONandPLAYstate packet handling. Reconfiguration packets can arrive before normal play state. - Keep Connect's Netty/runtime isolation intact. Avoid reusing server pipeline state across the connector runtime without a focused test.
- If a hub uses this plugin, update the hub's
velocity/deps.env, rebuild the hub image, deploy through gitops, and verify a real public join.
Run targeted module tests for packet/session fixes, then the broader build:
./gradlew :velocity:test
./gradlew buildDo not call production fixed from a Connect Java release alone. Confirm the
released jar is in the hub image, the hub pod logs the expected plugin version,
and Moxy accepts a tunnel with the same connectorVersion.