Skip to content
Mirror of Apache Sling
Java JavaScript Scala HTML CSS Shell Other
Find file
Failed to load latest commit information.
.mvn SLING-4530 - Add .mvn/jvm.config to reactor
bundles SLING-5493 : Stateful resource resolver should not hold (stateless) r…
contrib Update distribution its to snapshot versions
installer SLING-5371 - avoid path conflicts with other tests
launchpad fix sling.api snapshot version
parent SLING-5450 adjust artifactId and groupId of bndlib
performance Switch to parent pom 26
samples switch to Java 8 and update dependencies, plugins and parent to lates…
site SLING-2002 - CMS content moved
src SLING-4005 - Deploy API documentation for Sling 7
testing introduce own reactor pom for mock modules
tooling [maven-release-plugin] prepare for next development iteration
.gitignore trivial: added .jira-url for jira zsh plugin
.travis.yml travis: don't run war integration tests
KEYS Added my key
LICENSE Move Sling to new TLP location
NOTICE Update copyright year
README.txt Trivial commit to check that svn is back Add DIFFOPT option to check tags script Switch to https, remove ignore cert switch and remove ignore length s… SLING-3987 move from Subversion to Git
pom.xml SLING-5455 - Add helper class to construct valid paths SLING-5360 Update Oak to 1.3.11


Apache Sling

Bringing Back the Fun!

Apache Sling is a web framework that uses a Java
Content Repository, such as Apache Jackrabbit, to store and manage content.

Sling applications use either scripts or Java servlets, selected based on
simple name conventions, to process HTTP requests in a RESTful way.

The embedded Apache Felix OSGi framework and console provide a dynamic
runtime environment, where  code and content bundles can be loaded, unloaded
and reconfigured at runtime.

As the first web framework dedicated to JSR-170 Java Content Repositories,
Sling makes it very simple to implement simple applications, while providing
an enterprise-level framework for more complex applications.

See for more information.

Getting started

You need a Java 6 (or higher) JDK and Maven 3 (,
version 3.0.4 or higher) to build Sling.

Once you have everything in place, run

    export MAVEN_OPTS="-Xmx256M -XX:MaxPermSize=256M" 
    mvn clean install

in this directory (on 64bit platforms you might want to use 512M instead
of 256M). This will build, test and install the Sling modules in your local
Maven repository.

Some modules might not be listed in the pom.xml found in this directory,
those won't be built by the above command. If you need one of these 
modules, run "mvn clean install" in the directory that contains its
pom.xml file.

To get started with Sling, start the launchpad/builder module,
see README.txt in that module's directory.
Something went wrong with that request. Please try again.