Class StartMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.apache.sling.maven.slingstart.run.AbstractStartStopMojo
-
- org.apache.sling.maven.slingstart.run.StartMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="start", defaultPhase=PRE_INTEGRATION_TEST, threadSafe=true) public class StartMojo extends AbstractStartStopMojoStart one or multiple launchpad instance(s).
-
-
Field Summary
Fields Modifier and Type Field Description protected StringdebugOverwrites debug parameter of all server configurations (if set).-
Fields inherited from class org.apache.sling.maven.slingstart.run.AbstractStartStopMojo
servers, shouldBlockUntilKeyIsPressed, skipLaunchpad, systemPropertiesFile
-
-
Constructor Summary
Constructors Constructor Description StartMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddoExecute()-
Methods inherited from class org.apache.sling.maven.slingstart.run.AbstractStartStopMojo
blockIfNecessary, execute
-
-
-
-
Field Detail
-
debug
@Parameter(property="launchpad.debug") protected String debug
Overwrites debug parameter of all server configurations (if set). Attaches a debugger to the forked JVM. If set to"true", the process will allow a debugger to connect on port 8000. If set to some other string, that string will be appended to the server'svmOpts, allowing you to configure arbitrary debugging options.
-
-
Method Detail
-
doExecute
protected void doExecute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Specified by:
doExecutein classAbstractStartStopMojo- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-
-