Apache Sling JCR Maintenance

Clone this repo:
  1. 8784247 SLING-12094 - Use GitHub for the Maven scm.url value by Robert Munteanu · 8 months ago master
  2. add3530 [maven-release-plugin] prepare for next development iteration by Eric Norman · 8 months ago
  3. f7479f9 [maven-release-plugin] prepare release org.apache.sling.jcr.maintenance-1.1.0 by Eric Norman · 8 months ago org.apache.sling.jcr.maintenance-1.1.0
  4. ebc5010 SLING-12044 Update to Sling Bundle Parent 52 (#5) by Eric Norman · 8 months ago
  5. 3914256 SLING-12034 bump oak dependency for compatibility with version 1.56.0 (#3) by Eric Norman · 8 months ago

Apache Sling

Build Status Test Status Coverage Sonarcloud Status JavaDoc Maven Central jcr 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.


When paring the bundles in your installation, these are the version combinations that would be compatible:

Apache Sling JCR MaintenanceApache Jackrabbit Oak to 1.54.0
1.1.0 or later1.56.0 or later