Fork me on GitHub

feature-launcher:stop

Full name:

org.apache.sling:feature-launcher-maven-plugin:0.1.6:stop

Description:

Stop one or multiple Sling Feature(s).

Attributes:

  • Requires a Maven project to be executed.
  • The goal is not marked as thread-safe and thus does not support parallel builds.
  • Binds by default to the lifecycle phase: post-integration-test.

Required Parameters

Name Type Since Description
<launches> List - List of Launch objects to start. Each is having the following format:

<id>...</id> <!-- the id of the launch, must be unique within the list, is mandatory -->
<dependency>...</dependency> <!-- the Maven coordinates of the feature model -->
<launcherArguments> <!-- additional arguments to pass to the launcher -->
  <frameworkProperties>
    <org.osgi.service.http.port>8090</org.osgi.service.http.port>
  </framweworkProperties>
  ..
</launcherArguments>
<environmentVariables><!--additional environment variables to pass to the launcher -->
 <JAVA_HOME>...</JAVA_HOME>
</environmentVariables>

Optional Parameters

Name Type Since Description
<waitForInput> boolean - If true stopping the server is deferred until you press the Enter key on the terminal on which Maven is executed.
Default value is: false.
User property is: feature-launcher.waitForInput.

Parameter Details

<launches>

List of Launch objects to start. Each is having the following format:

<id>...</id> <!-- the id of the launch, must be unique within the list, is mandatory -->
<dependency>...</dependency> <!-- the Maven coordinates of the feature model -->
<launcherArguments> <!-- additional arguments to pass to the launcher -->
  <frameworkProperties>
    <org.osgi.service.http.port>8090</org.osgi.service.http.port>
  </framweworkProperties>
  ..
</launcherArguments>
<environmentVariables><!--additional environment variables to pass to the launcher -->
 <JAVA_HOME>...</JAVA_HOME>
</environmentVariables>
  • Type: java.util.List
  • Required: Yes

<waitForInput>

If true stopping the server is deferred until you press the Enter key on the terminal on which Maven is executed.
  • Type: boolean
  • Required: No
  • User Property: feature-launcher.waitForInput
  • Default: false