Plugin Documentation

Goals available for this plugin:

Goal Description
slingstart:attach-modelarchive Attaches the model archive as a project artifact.
slingstart:attach-slingfeature Attaches 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 Initialize a Sling application project by extracting bundles into the correct locations.
slingstart:prepare-package Prepare the sling start applications.
slingstart:repository Create a mvn repository structure from the artifacts
slingstart:start Mojo for starting launchpad.
slingstart:stop Stops the running launchpad instances.

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.2</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.2</version>
      </plugin>
      ...
    </plugins>
  </build>
  ...
</project>

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