The purpose of this module is to create an archive with all the active modules of a platform and the related YAML provisioning file. Afterward, this archive can be used to install these modules on another platform or in the same one if needed.
- In Jahia, go to "Administration → Server settings → System components → Modules"
- Upload the JAR provisioning-generator-X.X.X.jar
- Check that the module is started
Once installed, the module adds a Provisioning Generator entry under Server Administration → System Components.
From this page you can:
- Select modules — a searchable, grouped checklist lets you pick which active modules to include. Modules are grouped by group ID and can be filtered by name, symbolic name, or group ID. Use Select all / Deselect all to manage the full list or a filtered subset.
- Generate a new provisioning archive from the selected modules. The button shows the number of selected modules. A loading animation is displayed while the archive is being built.
- Download the generated archive (
provisioning-export.zip) once it is ready. - Delete the archive from the server.
- See the date and time the archive was last generated.
Note: The selective module generation feature (searchable checklist, per-module selection) was added in this fork for personal use and is not part of the upstream Jahia module.
Generates an archive in Jahia's temporary content folder (SettingsBean#getTmpContentDiskPath(), by default <digital-factory-data>/tmpContent/). The Karaf command logs the absolute path of the generated file; unlike the GraphQL mutation, it does not copy the archive into JCR.
Example:
provisioning-generator:generate
POST /modules/api/provisioning
Content-Type: application/yaml
- karafCommand: "provisioning-generator:generate"
The generated ZIP file contains:
- One JAR file per active module, as stored in the Jahia module management repository.
- A
provisioning.yamlfile listing all bundles withautoStart: true, ready to be replayed via the Jahia provisioning API.
The archive is also stored in JCR at /sites/systemsite/files/provisioning-generator/provisioning-export.zip and is accessible through the administration UI.