Plugin Documentation

Goals available for this plugin:

Goal Description
slingstart:attach-modelarchive Attach the model archive as a project artifact.
slingstart:attach-slingfeature Attach the model as a project artifact.
slingstart:help Display help information on slingstart-maven-plugin.
Call mvn slingstart:help -Ddetail=true -Dgoal=<goal-name> to display parameter details.
slingstart:package Create a Sling quickstart package (either JAR or WAR) based on the referenced model.
slingstart:prepare-package Prepare the packaging of the Sling quickstart artifact (either JAR or WAR).
slingstart:repository Create a Maven repository structure from the referenced artifacts in the model.
slingstart:start Start one or multiple launchpad instance(s).
slingstart:stop Stop one or multiple running launchpad instance(s).

System Requirements

The following specifies the minimum requirements to run this Maven plugin:

Maven 2.0
JDK 1.7
Memory No minimum requirement.
Disk Space No minimum requirement.

Usage

You should specify the version in your project's plugin configuration:

<project>
  ...
  <build>
    <!-- To define the plugin version in your parent POM -->
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>org.apache.sling</groupId>
          <artifactId>slingstart-maven-plugin</artifactId>
          <version>1.7.6</version>
        </plugin>
        ...
      </plugins>
    </pluginManagement>
    <!-- To use the plugin goals in your POM or parent POM -->
    <plugins>
      <plugin>
        <groupId>org.apache.sling</groupId>
        <artifactId>slingstart-maven-plugin</artifactId>
        <version>1.7.6</version>
      </plugin>
      ...
    </plugins>
  </build>
  ...
</project>

For more information, see "Guide to Configuring Plug-ins"