Class AbstractStartStopMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.apache.sling.maven.slingstart.run.AbstractStartStopMojo
-
-
Field Summary
Fields Modifier and Type Field Description protected List<ServerConfiguration>serversParameter containing the list of server configurationsprotected booleanshouldBlockUntilKeyIsPressedIftruethis mojo blocks until you press the Enter key.protected booleanskipLaunchpadSet this to "true" to skip starting the launchpadprotected FilesystemPropertiesFileThe system properties file will contain all started instances with their ports etc.
-
Constructor Summary
Constructors Constructor Description AbstractStartStopMojo()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected voidblockIfNecessary()protected abstract voiddoExecute()voidexecute()
-
-
-
Field Detail
-
skipLaunchpad
@Parameter(property="maven.test.skip", defaultValue="false") protected boolean skipLaunchpadSet this to "true" to skip starting the launchpad
-
servers
@Parameter protected List<ServerConfiguration> servers
Parameter containing the list of server configurations
-
systemPropertiesFile
@Parameter(defaultValue="${project.build.directory}/launchpad-runner.properties") protected File systemPropertiesFileThe system properties file will contain all started instances with their ports etc.
-
shouldBlockUntilKeyIsPressed
@Parameter protected boolean shouldBlockUntilKeyIsPressed
Iftruethis mojo blocks until you press the Enter key.
-
-
Method Detail
-
doExecute
protected abstract void doExecute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-
blockIfNecessary
protected void blockIfNecessary() throws org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoFailureException
-
-