Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/apache/sling-feature-launcher-maven-plugin

Apache Sling Feature Launcher Maven Plugin
https://github.com/apache/sling-feature-launcher-maven-plugin

java maven sling

Last synced: 3 months ago
JSON representation

Apache Sling Feature Launcher Maven Plugin

Awesome Lists containing this project

README

        

[![Apache Sling](https://sling.apache.org/res/logos/sling.png)](https://sling.apache.org)

[![Build Status](https://ci-builds.apache.org/job/Sling/job/modules/job/sling-feature-launcher-maven-plugin/job/master/badge/icon)](https://ci-builds.apache.org/job/Sling/job/modules/job/sling-feature-launcher-maven-plugin/job/master/) [![Test Status](https://img.shields.io/jenkins/tests.svg?jobUrl=https://ci-builds.apache.org/job/Sling/job/modules/job/sling-feature-launcher-maven-plugin/job/master/)](https://ci-builds.apache.org/job/Sling/job/modules/job/sling-feature-launcher-maven-plugin/job/master/test/?width=800&height=600) [![Coverage](https://sonarcloud.io/api/project_badges/measure?project=apache_sling-feature-launcher-maven-plugin&metric=coverage)](https://sonarcloud.io/dashboard?id=apache_sling-feature-launcher-maven-plugin) [![Sonarcloud Status](https://sonarcloud.io/api/project_badges/measure?project=apache_sling-feature-launcher-maven-plugin&metric=alert_status)](https://sonarcloud.io/dashboard?id=apache_sling-feature-launcher-maven-plugin) [![JavaDoc](https://www.javadoc.io/badge/org.apache.sling/feature-launcher-maven-plugin.svg)](https://www.javadoc.io/doc/org.apache.sling/feature-launcher-maven-plugin) [![Maven Central](https://maven-badges.herokuapp.com/maven-central/org.apache.sling/feature-launcher-maven-plugin/badge.svg)](https://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.apache.sling%22%20a%3A%22feature-launcher-maven-plugin%22) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://www.apache.org/licenses/LICENSE-2.0)

This module is part of the [Apache Sling](https://sling.apache.org) 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 .

## Usage

Configure the plugin as follows:

```

org.apache.sling
feature-launcher-maven-plugin



model



org.apache.sling
org.apache.sling.starter
12
oak_tar
slingosgifeature





8080



TEST_VALUE


180








start
stop


```

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`.