Apache Sling Starter Application

Clone this repo:
  1. aa9a195 releng: updated to latest released modules by Radu Cotescu · 13 days ago master
  2. a720ecc Update o.a.s.repoinit.parser to 1.3.2, o.a.s.repoinit.parser 1.3.2 by Robert Munteanu · 3 weeks ago
  3. 585c4d9 releng: updated o.a.s.xss to 2.1.10 by Radu Cotescu · 6 weeks ago
  4. 2e49862 Update to commons.threads 3.2.20 by Robert Munteanu · 6 weeks ago
  5. e65dd8e Update to post servlet 2.3.36 by Carsten Ziegeler · 9 weeks ago

Build Status Test Status Maven Central JavaDocs License

Apache Sling Starter

This module is part of the Apache Sling project.

The starter project produces both a Standalone Java Application which contains everything needed to run the Launchpad in a single JAR file and a Web Application.

How to run the Sling Starter module in Standalone mode

NOTE: “mvn clean” deletes the “sling” work directory in the project base directory. It is advisable to use a work directory outside of the project directory.

  1. Build the Sling Starter using

    mvn clean install

in the current directory.

  1. Start the generated jar with

    java -jar target/org.apache.sling.starter-10-SNAPSHOT.jar

Use the correct version number instead of 10-SNAPSHOT, if needed.

  1. Browse Sling in:

     http://localhost:8080
    

How to run the Sling Starter module in webapp mode

  1. Build the Sling Starter using

    mvn clean install

in the current directory.

  1. Deploy target/org.apache.sling.starter-10-SNAPSHOT.war to your favorite application server or servlet container. Servlet 3.1 is a minimum requirement for the web app.