Class IkeEnvMojo
java.lang.Object
network.ike.plugin.support.AbstractGoalMojo
network.ike.plugin.IkeEnvMojo
- All Implemented Interfaces:
org.apache.maven.api.plugin.Mojo
@Mojo(name="env",
projectRequired=false,
aggregator=true)
public class IkeEnvMojo
extends AbstractGoalMojo
Print runtime environment diagnostics — terminal/console capability,
stdin, and relevant system properties.
Investigative tooling for the interactive-prompt work
(IKE-Network/ike-issues#385). The decisive question for how an
IkePrompter should render is whether the runner gave Maven
a real terminal. System.console() answers it: non-null
means a real terminal (inline prompts work), null means piped
(degrade to an own-line label).
Run it from both IntelliJ's Maven tool window and the Terminal tool window and compare the output — that settles, by measurement, what each context actually provides.
Read-only. Usage: mvn ike:env
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class AbstractGoalMojo
execute, getLog, getPrompter, getSession
-
Constructor Details
-
IkeEnvMojo
public IkeEnvMojo()Creates this goal instance.
-
-
Method Details
-
runGoal
- Specified by:
runGoalin classAbstractGoalMojo- Throws:
org.apache.maven.api.plugin.MojoException
-