slingstart:start

Full name:

org.apache.sling:slingstart-maven-plugin:1.8.2:start

Description:

Start one or multiple launchpad instance(s).

Attributes:

  • Requires a Maven project to be executed.
  • The goal is thread-safe and supports parallel builds.
  • Binds by default to the lifecycle phase: pre-integration-test.

Optional Parameters

Name Type Since Description
cleanWorkingDirectory boolean - Clean the working directory before start.
Default value is: false.
User property is: launchpad.clean.workdir.
debug String - 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's vmOpts, allowing you to configure arbitrary debugging options.
User property is: launchpad.debug.
keepLaunchpadRunning boolean - Deprecated. Use AbstractStartStopMojo.blockUntilKeyIsPressed instead.
Default value is: false.
User property is: launchpad.keep.running.
launchpadDependency Dependency - The launchpad jar as a dependency. This is only used if "launchpadJar" is not specified.
launchpadJar File - The launchpad jar. This option has precedence over "launchpadDependency".
User property is: launchpad.jar.
launchpadReadyTimeOutSec int - Ready timeout in seconds. If the launchpad has not been started in this time, it's assumed that the startup failed.
Default value is: 600.
User property is: launchpad.ready.timeout.
parallelExecution boolean - Set the execution of launchpad instances to be run in parallel (threads)
Default value is: true.
User property is: launchpad.parallelExecution.
servers List - Parameter containing the list of server configurations
shouldBlockUntilKeyIsPressed boolean - If true this mojo blocks until you press the Enter key.
skipLaunchpad boolean - Set this to "true" to skip starting the launchpad
Default value is: false.
User property is: maven.test.skip.
systemPropertiesFile File - The system properties file will contain all started instances with their ports etc.
Default value is: ${project.build.directory}/launchpad-runner.properties.

Parameter Details

cleanWorkingDirectory:

Clean the working directory before start.
  • Type: boolean
  • Required: No
  • User Property: launchpad.clean.workdir
  • Default: false

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's vmOpts, allowing you to configure arbitrary debugging options.
  • Type: java.lang.String
  • Required: No
  • User Property: launchpad.debug

keepLaunchpadRunning:

Deprecated. Use AbstractStartStopMojo.blockUntilKeyIsPressed instead.
Keep the launchpad running.
  • Type: boolean
  • Required: No
  • User Property: launchpad.keep.running
  • Default: false

launchpadDependency:

The launchpad jar as a dependency. This is only used if "launchpadJar" is not specified.
  • Type: org.apache.maven.model.Dependency
  • Required: No

launchpadJar:

The launchpad jar. This option has precedence over "launchpadDependency".
  • Type: java.io.File
  • Required: No
  • User Property: launchpad.jar

launchpadReadyTimeOutSec:

Ready timeout in seconds. If the launchpad has not been started in this time, it's assumed that the startup failed.
  • Type: int
  • Required: No
  • User Property: launchpad.ready.timeout
  • Default: 600

parallelExecution:

Set the execution of launchpad instances to be run in parallel (threads)
  • Type: boolean
  • Required: No
  • User Property: launchpad.parallelExecution
  • Default: true

servers:

Parameter containing the list of server configurations
  • Type: java.util.List
  • Required: No

shouldBlockUntilKeyIsPressed:

If true this mojo blocks until you press the Enter key.
  • Type: boolean
  • Required: No

skipLaunchpad:

Set this to "true" to skip starting the launchpad
  • Type: boolean
  • Required: No
  • User Property: maven.test.skip
  • Default: false

systemPropertiesFile:

The system properties file will contain all started instances with their ports etc.
  • Type: java.io.File
  • Required: No
  • Default: ${project.build.directory}/launchpad-runner.properties