Class KbCreateDraftMojo
java.lang.Object
network.ike.plugin.KbCreateDraftMojo
- All Implemented Interfaces:
org.apache.maven.api.plugin.Mojo
@Mojo(name="kb-create-draft",
projectRequired=false)
public class KbCreateDraftMojo
extends Object
implements org.apache.maven.api.plugin.Mojo
Previews a new knowledge-base project, the side-effect-free half of the
ike:kb-create-* pair (IKE-Network/ike-issues#1370): the coordinates, every knowledge source
pinned to the exact deploy it will be built from and its size, whether a Rocks store is
built and why, the heap, where it deploys, and every file publish would write. The
repository is read to pin the knowledge sources; nothing is written. Rerun as
kb-create-publish with the same inputs to create exactly what this draft shows.
mvn ike:kb-create-draft -Dname=my-kb \
-DknowledgeSources=network.ike.data:snomedct-kb:zip:unreasoned-pb:20260601.2-SNAPSHOT
- Since:
- 280
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
KbCreateDraftMojo
public KbCreateDraftMojo()Creates this goal instance.
-
-
Method Details
-
execute
public void execute()Prints the plan.- Specified by:
executein interfaceorg.apache.maven.api.plugin.Mojo- Throws:
org.apache.maven.api.plugin.MojoException- if a parameter is malformed, a knowledge source cannot be pinned, or the templates cannot be read
-