Class IkeSiteDraftMojo

java.lang.Object
network.ike.plugin.IkeSiteDraftMojo
All Implemented Interfaces:
org.apache.maven.api.plugin.Mojo
Direct Known Subclasses:
IkeSitePublishMojo

@Mojo(name="site-draft", projectRequired=true, aggregator=true) public class IkeSiteDraftMojo extends Object implements org.apache.maven.api.plugin.Mojo
Diagnostic that reports drift in the project's deployed-site state.

Reads the current deployed site at https://ike.network/<artifactId>/ and the project's entry on the IKE Network landing page, compares them to the current POM version, and prints a drift report with copy-paste opt-out commands inline.

Read-only — no remote mutation. Use IkeSitePublishMojo to apply.

Subsumes the retired ike:deploy-site-draft, ike:register-site-draft, ike:deregister-site-draft, and ike:clean-site (in their preview-only roles) goals. See IKE-Network/ike-issues#398.

Usage:

mvn ike:site-draft        # report deployed-site drift
mvn ike:site-publish      # apply (deploy + register)
See Also:
  • Constructor Details

    • IkeSiteDraftMojo

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

    • getLog

      protected org.apache.maven.api.plugin.Log getLog()
      Access the Maven logger.
      Returns:
      the logger
    • 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