Apache Sling Feature Laucher Maven Plugin

Clone this repo:
  1. 31ab2f0 SLING-11709 - Set up Jira autolinks to all Sling Github projects by Robert Munteanu · 9 weeks ago master
  2. 58a59a1 [maven-release-plugin] prepare for next development iteration by Eric Norman · 7 months ago
  3. f91ce88 [maven-release-plugin] prepare release feature-launcher-maven-plugin-0.1.4 by Eric Norman · 7 months ago feature-launcher-maven-plugin-0.1.4
  4. 56908eb Bump httpclient in /src/it/simple-for-SLING-10956-it by dependabot[bot] · 7 months ago
  5. 16063e8 SLING-11685 use feature launcher assembly to launch (#4) by Eric Norman · 7 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. The full Maven site documenting this plugin is at https://sling.apache.org/components/sling-feature-launcher-maven-plugin/.


Configure the plugin as follows:

                <!-- optionally uncomment to skip this launch if the skip property resolves to false -->
                    <!-- optionally uncomment to pass any required extra vm options -->
                    <!-- Feature launcher variables can be set like this -->

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.