Class VerifyReleasePublishedMojo

java.lang.Object
network.ike.plugin.VerifyReleasePublishedMojo
All Implemented Interfaces:
org.apache.maven.api.plugin.Mojo

@Mojo(name="verify-release-published", projectRequired=false) public class VerifyReleasePublishedMojo extends Object implements org.apache.maven.api.plugin.Mojo
Verify all post-release publication targets are reachable for a given project + version. Runs six read-only HTTP checks against the canonical post-release landing spots documented in cutting-a-release.adoc.

Replaces the operator's manual curl-around-six-URLs sequence with a single goal that hits everything in parallel and reports green/red for each. Composes into release scripts and CI: exits non-zero when any check fails so a shell pipeline can branch on success.

All checks are HTTP HEAD or GET against public URLs — no auth, no subprocess to gh, no Nexus credentials required. The goal is deliberately read-only and safe to run any time.

ike-issues#374.

Usage:

mvn ike:verify-release-published
mvn ike:verify-release-published -DprojectId=ike-tooling -Dversion=163
  • Constructor Details

    • VerifyReleasePublishedMojo

      public VerifyReleasePublishedMojo()
      Creates this goal instance.
  • Method Details

    • execute

      public void execute() throws org.apache.maven.api.plugin.MojoException
      Specified by:
      execute in interface org.apache.maven.api.plugin.Mojo
      Throws:
      org.apache.maven.api.plugin.MojoException