Class KbRemoteDraftMojo
java.lang.Object
network.ike.plugin.KbRemoteDraftMojo
- All Implemented Interfaces:
org.apache.maven.api.plugin.Mojo
@Mojo(name="kb-remote-draft",
projectRequired=false)
public class KbRemoteDraftMojo
extends Object
implements org.apache.maven.api.plugin.Mojo
Previews giving a project its remote, the side-effect-free half of the
ike:kb-remote-* pair (IKE-Network/ike-issues#1370): whether the remote answers
and is empty, what origin becomes, each <scm> URL of pom.xml
before and after, the working set's repo: when the project is a member of one,
and the push. The remote is asked for its branches; nothing is changed. Rerun as
kb-remote-publish with the same inputs to do exactly what this draft shows.
mvn ike:kb-remote-draft -Dremote=https://github.com/my-org/my-kb.git
- Since:
- 281
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
KbRemoteDraftMojo
public KbRemoteDraftMojo()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 the project cannot be read or the plan breaks a rule
-