Apache Sling Feature Model - Content Deployment Extension

Clone this repo:
  1. b5c2707 SLING-12094 - Use GitHub for the Maven scm.url value by Robert Munteanu · 7 months ago master
  2. 5fccb24 Typo fix in module name by Robert Munteanu · 7 months ago
  3. 4858598 [maven-release-plugin] prepare for next development iteration by Robert Munteanu · 8 months ago
  4. 7be93d5 [maven-release-plugin] prepare release org.apache.sling.feature.extension.content-1.0.12 by Robert Munteanu · 8 months ago org.apache.sling.feature.extension.content-1.0.12
  5. b7d3834 trivial: aling module name with Jira version name by Robert Munteanu · 8 months ago

Apache Sling

Build Status Test Status Coverage Sonarcloud Status JavaDoc Maven Central feature License

Apache Sling Featuremodel - Content Deployment Extension

This module is part of the Apache Sling project.

This module extends the Sling Featuremodel Launcher with content package capabilities. The format of the extension is described in Extension Content-Packages.

To influence the package installation order the following format must be used

"content-packages:ARTIFACTS|required":[
    "id":"org.apache.sling.myapp:my-content-package:zip:1.0.0"
    "start-order": 1
]

The default start order is the maximum integer value (i.e. the package is processed after all packages with an explicit start-order).

All content-packages from the model are registered (externally) in a FSPackageRegistry and scheduled for installation with execution plans (given via OSGi configuration) which automatically get executed during repository start by ExecutionPlanRepoInitializer

Strict package mode installation can be enabled for all packages by setting the org.apache.sling.feature.extension.content.useStrictMode system property to true.