| Modifier and Type | Field and Description |
|---|---|
protected List<ServerConfiguration> |
servers
Parameter containing the list of server configurations
|
protected boolean |
shouldBlockUntilKeyIsPressed
If
true this mojo blocks until you press the Enter key. |
protected boolean |
skipLaunchpad
Set this to "true" to skip starting the launchpad
|
protected File |
systemPropertiesFile
The system properties file will contain all started instances with their ports etc.
|
| Constructor and Description |
|---|
AbstractStartStopMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
blockIfNecessary() |
protected abstract void |
doExecute() |
void |
execute() |
@Parameter(property="maven.test.skip",
defaultValue="false")
protected boolean skipLaunchpad
@Parameter protected List<ServerConfiguration> servers
@Parameter(defaultValue="${project.build.directory}/launchpad-runner.properties")
protected File systemPropertiesFile
@Parameter protected boolean shouldBlockUntilKeyIsPressed
true this mojo blocks until you press the Enter key.protected abstract void doExecute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionpublic void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionprotected void blockIfNecessary()
throws org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoFailureExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.