Apache Sling JCR Maintenance

Clone this repo:
  1. bb44446 [maven-release-plugin] prepare for next development iteration by Dan Klco · 4 weeks ago master
  2. 29e08eb [maven-release-plugin] prepare release org.apache.sling.jcr.maintenance-1.0.0 by Dan Klco · 4 weeks ago org.apache.sling.jcr.maintenance-1.0.0
  3. 70895a7 Minor: Adding SCM element by Dan Klco · 4 weeks ago
  4. a9e85ab Merge branch 'master' of github.com:apache/sling-org-apache-sling-jcr-maintenance by Dan Klco · 4 weeks ago
  5. 0043e5d Updating to use a boolean flag to indicate interruption rather than throwing an exception by Dan Klco · 4 weeks ago

Apache Sling

Build Status Test Status Coverage Sonarcloud Status JavaDoc Maven Central License

Apache Sling JCR Maintenance

This project provides reference implementation of Maintenance jobs for maintaining a Apache Jackrabbit OAK repository in Apache Sling.

This includes the following Maintenance jobs:

As well as a Health Check to ensure the jobs are scheduled and have not failed.


To see a reference implementation, see the Configuration Feature.


There are two primary features made by this project include:

  • Base - org.apache.sling:org.apache.sling.jcr.maintenance:slingosgifeature:base:${project.version} - only the bundle and service user
  • Default - org.apache.sling:org.apache.sling.jcr.maintenance:slingosgifeature:default:${project.version} - the bundle, service user and default configuration which keeps 5 versions and runs the jobs every night

This module is part of the Apache Sling project.