Skip to content

[3.0] Published Maven surface omits coordinates the README and plugins resolve #884

Description

@jbachorik

Summary

Only io.btrace:btrace (the btrace-dist fat JAR) is published to Central, but the README, the Maven plugin, and the Gradle plugin all tell users to resolve coordinates that are never published. Off a released 3.0 artifact set, the documented secondary install/consume flows fail.

Surfaced during the pre-release cross-module review.

Ground truth (verified)

Publisher side — only btrace-dist, btrace-gradle-plugin, btrace-maven-plugin apply maven-publish, and the release pipeline (.github/workflows/release.yml:426) runs only :btrace-dist:publishAllPublicationsToSonatypeRepository. Sole Central artifact: io.btrace:btrace (btrace-dist/build.gradle:886). The two plugins apply maven-publish but no pipeline job publishes them, and they carry no signing (would fail Central).

Consumer side, all resolving unpublished coordinates:

  • README.md:145jbang io.btrace:btrace-client:<version>
  • btrace-maven-plugin FatAgentMojo.java:69-70io.btrace:btrace-agent + io.btrace:btrace-boot
  • btrace-gradle-plugin BTraceExtensionPlugin.groovy:164-165annotationProcessor "io.btrace:btrace-core:${version}"
  • README.md:266,373 + several docs — io.btrace:btrace-metrics (no extension module applies maven-publish)

btrace-core, btrace-agent, btrace-boot, btrace-client, btrace-compiler, and all btrace-extensions/* are never published.

The primary supported path (jbang btrace alias / io/btrace/btrace/<v>/btrace-<v>.jar) does work, so the product is installable — these are secondary documented flows.

Fix (decide intended public surface)

Either:

  • Publish more: add maven-publish + signing to core/agent/boot (and extensions if the io.btrace:btrace-metrics embed path is meant to work), and publish the two plugins + their marker artifacts in the stage-maven job; or
  • Publish less: remove the Maven-repo resolution in FatAgentMojo, remove the external-consumer annotation-processor fallback in the Gradle plugin, and correct the README/docs coordinates to the single io.btrace:btrace artifact.

Note: the README jbang-client line and the io.btrace:btrace-metrics doc references are deliberately left unfixed pending this decision (all other doc-accuracy fixes from the review pass are already applied).

Severity: MAJOR. Owner: build/release team, with doc follow-up.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions