Class ReleaseReport
ike:release-draft and ike:release-publish.
The report body is the markdown payload of the GoalReportSpec
returned by ReleaseDraftMojo.runGoal(); the IKE goal-report
aggregator collects it for the workspace-level run report. The
cascade log lines are advisory output emitted directly through
ctx.log().
Carved out of ReleaseDraftMojo during the Phase 4
Commit 6 (IKE-Network/ike-issues#489). The companion
DraftRenderer wraps this class for the draft-mode short-circuit.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new report renderer bound to the given context. -
Method Summary
Modifier and TypeMethodDescriptionbuild(boolean draft, String oldVersion, String releaseBranch, String projectId, String releaseTimestamp, NexusOutcome nexus, CentralOutcome central, List<CascadeBump> foundationUpgrades) Builds the markdown body for anike:release-*session report.voidreportCascade(boolean draft) Prints the foundation release cascade section (IKE-Network/ike-issues#402, #420).
-
Constructor Details
-
ReleaseReport
Creates a new report renderer bound to the given context.- Parameters:
ctx- the per-invocation release context
-
-
Method Details
-
reportCascade
public void reportCascade(boolean draft) Prints the foundation release cascade section (IKE-Network/ike-issues#402, #420).When the releasing repository version-controls its own
src/main/cascade/release-cascade.yamlit is a cascade member: this surfaces the downstream repos the release affects — a preview in draft mode, a "what's next" footer in publish mode. A repository with no such file (an ordinary consumer) or an unreadable manifest is silently skipped — cascade reporting is purely advisory and never fails or blocks a release.- Parameters:
draft-truefor the draft preview,falsefor the post-publish footer
-
build
public String build(boolean draft, String oldVersion, String releaseBranch, String projectId, String releaseTimestamp, NexusOutcome nexus, CentralOutcome central, List<CascadeBump> foundationUpgrades) Builds the markdown body for anike:release-*session report.- Parameters:
draft-truefor draft preview,falsefor a completed publish runoldVersion- the pre-release POM versionreleaseBranch- the release branch that was (or would be) createdprojectId- the artifactId of the project being releasedreleaseTimestamp- the reproducible build timestamp stamped intoproject.build.outputTimestampnexus- the Nexus deploy outcome (useNexusOutcome.initial()for draft)central- the Central deploy outcome (useCentralOutcome.initial()for draft)foundationUpgrades- the upstream-version bumps the release applied; rendered as a "Foundation upgrades" section when non-empty (#706)- Returns:
- the markdown body
-