Skip to content

Apache Sling Feature Model - Content Deployment Extension

License

Notifications You must be signed in to change notification settings

apache/sling-org-apache-sling-feature-extension-content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.