Apache Sling Kickstart Feature Maven Plugin

Clone this repo:
  1. 053dfb5 [maven-release-plugin] prepare for next development iteration by Andreas Schaefer · 3 weeks ago master
  2. 28f9573 [maven-release-plugin] prepare release sling-kickstart-maven-plugin-0.0.2 by Andreas Schaefer · 3 weeks ago sling-kickstart-maven-plugin-0.0.2
  3. da43d1f Adjustments for the first release by Andreas Schaefer · 3 weeks ago
  4. 74ef04c Adjusted the project after being promoted to its own Sling Git Repo by Andreas Schaefer · 3 months ago
  5. 8cb28e1 Renamed Quickstart to Kickstart by Andreas Schaefer · 4 months ago

Sling Start Feature Maven Plugin

This Maven Plugin is the Feature Model based version of the Slingstart Maven Plugin. It does not depend on its predecessor to keep the Provisioning Model and Feature Model code bases separate.

Build

This plugin is built as usual with:

mvn clean install

Usage

The plugin can be used like this:

<plugin>
    <groupId>org.apache.sling</groupId>
    <artifactId>sling-kickstart-maven-plugin</artifactId>
    <version>0.0.1-SNAPSHOT</version>
    <extensions>true</extensions>
    <executions>
        <execution>
            <id>start-container</id>
            <goals>
                <goal>start</goal>
                <goal>stop</goal>
            </goals>
        </execution>
    </executions>
    <configuration>
        <launchpadJar>${project.build.directory}/${project.artifactId}-${project.version}.jar</launchpadJar>
        <parallelExecution>false</parallelExecution>
        <servers>
            <server>
                <port>${http.port}</port>
                <controlPort>${sling.control.port}</controlPort>
                <debug>true</debug>
                <stdOutFile>launchpad.out</stdOutFile>
            </server>
        </servers>
    </configuration>
</plugin>

Notes

For now this Plugin only supports the starting and stopping of a Sling instance for example to run IT tests.