Class StarterSetCreatePublishMojo
java.lang.Object
network.ike.plugin.StarterSetCreatePublishMojo
- All Implemented Interfaces:
org.apache.maven.api.plugin.Mojo
@Mojo(name="starter-set-create-publish",
projectRequired=false)
public class StarterSetCreatePublishMojo
extends Object
implements org.apache.maven.api.plugin.Mojo
Genesis of a new starter-set project — the executing half of the
ike:starter-set-create-* pair (IKE-Network/ike-issues#866): mints the set's
permanent identity (unless supplied), materializes the five-module family from the
standards templates, bootstrap-commits, and proves itself by building the generated
project green before reporting success.
Run ike:starter-set-create-draft first — publish executes exactly what
the draft showed. Genesis runs once: the target directory must not already exist.
- Since:
- 235
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute()Mints, materializes, commits, and verifies the new starter-set project.
-
Constructor Details
-
StarterSetCreatePublishMojo
public StarterSetCreatePublishMojo()Creates this goal instance.
-
-
Method Details
-
execute
public void execute()Mints, materializes, commits, and verifies the new starter-set project.- Specified by:
executein interfaceorg.apache.maven.api.plugin.Mojo- Throws:
org.apache.maven.api.plugin.MojoException- if the target exists, templates cannot be loaded, files cannot be written, or the verification build fails
-