Apache Sling Feature Laucher Maven Plugin

Clone this repo:
  1. 46d691a SLING-9994 cleanup to convert tabs to spaces by Eric Norman · 3 weeks ago master
  2. 11e1f14 SLING-9994 Allow configuring extra jvm options by Eric Norman · 4 months ago
  3. 8e639d8 SLING-9843 fallback to java.home system property if JAVA_HOME env by Eric Norman · 6 months ago
  4. 05c3a4d Adding sonarqube badges as per SLING-9682 by Dan Klco · 8 months ago
  5. 3b65067 Updating badges for feature-launcher-maven-plugin by Radu Cotescu · 8 months ago

Apache Sling

Build Status Test Status Coverage Sonarcloud Status JavaDoc Maven Central License

This module is part of the Apache Sling project.

This plugin allows starting and stopping feature model applications without blocking the Maven execution. It is intended mainly for usage with integration tests.


Configure the plugin as follows:

                    <!-- optionally uncomment to pass any required extra vm options -->

This will run the Sling Starter using the oak_tar aggregate, setting the HTTP port to 8080 and waiting for up to 180 seconds for the application to start.

The start goal is bound by default to the pre-integration phase and the stop goal to the post-integration-test one.

See the src/it folder for a complete example, including a configuration of the maven-failsafe-plugin.