Skip to content

[Task][Java Client] Implement single-owner Maven artifact handoff for the independent client release #8421

Open

Description

@Aias00

Description

Parent: #7602, release/coordinate-ownership slice of P5. Make the planned artifact handoff executable and verifiable before publishing the migrated client or removing its sources from main.

Current Evidence

The release-order contract requires main-owned foundations first, a single designated client publisher, compatible external artifacts and only then main-source removal.

The external draft PR #16, reviewed at a37668298edef5c501e8b56a0595ed50ef895656, uses separate preparation-client and foundation SNAPSHOT versions, skips deployment and rejects preparation-state release. These protections are useful prerequisites, but do not establish a completed artifact handoff. No duplicate publication incident is alleged here.

Task List

  • Produce a complete coordinate ownership manifest for migrated client libraries, API/HTTP registration modules, eight business starters, aggregating/parent POMs and any published example helpers. Explicitly retain protocol/common/registry/MCP foundations, gateway beat modules and shenyu-sdk under main ownership.
  • Select resolvable released foundation versions for the accepted migration source. Include parent/BOM/test-fixture artifacts required by independent consumers; do not simply replace a version string or assume the required protocol artifact is published.
  • Define the last main-owned and first client-owned publication points for each transferred coordinate. Update each repository's release/deploy configuration so main cannot resume publishing transferred coordinates after handoff, including still-staged sources and active release profiles.
  • Keep candidate/preparation deployment protections until their gates are satisfied. Validate the effective release POM/dependency graph, including inherited and profile-specific versions, for preparation SNAPSHOTs or duplicate ownership.
  • Add a non-publishing staging/dry-run check with positive and negative fixtures: preparation state, missing foundation, transferred coordinate in the wrong publisher and valid ownership selection.
  • Document rollback before and after publication, including how to restore business applications to a previously verified client version while preserving Admin wire compatibility. Do not republish an existing version or silently transfer ownership back.

Acceptance Criteria

  • Each transferred and retained coordinate, including required parents, has one documented release owner and a verifiable first/last publication boundary.
  • An isolated Maven repository can resolve the selected released foundations and build the candidate client/starter fixture without main business-client sources, local SNAPSHOT substitution or accidental fallback to an in-tree client.
  • Release-profile validation prevents the wrong repository from deploying transferred coordinates and prevents candidate preparation state from passing as release-ready.
  • The handoff checklist links exact compatibility evidence from [Task] Verify independent Java client against main repo admin/bootstrap #6366, actual release artifacts and any remaining gates. A successful dry run is not reported as a publication or a supported release pair.

Dependencies and Boundaries

Coordinate with the final accepted #16 implementation and #6366. Preparatory manifests, guards and a reviewable release plan can be implemented now; activating the ownership switch and publishing must follow the project's release process. Do not disable the existing publisher prematurely and strand consumers before replacement artifacts are available.

This task does not duplicate protocol extraction already merged in #7605, redo client source import, certify unsupported framework combinations or remove staged main sources. Current evidence is POM/PR/policy review; no repository deployment or release test was performed for this report.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions