Magnolia 5.7 reached extended end of life on May 31, 2022. Support for this branch is limited, see End-of-life policy. Please note that to cover the extra maintenance effort, this EEoL period is a paid extension in the life of the branch. Customers who opt for the extended maintenance will need a new license key to run future versions of Magnolia 5.7. If you have any questions or to subscribe to the extended maintenance, please get in touch with your local contact at Magnolia.
The Resources module loads resource files from all sources - JCR, file system and classpath. The module includes the Resource Files app to manage your resources .
The Resources module no longer supports processed resources. In case you rely on them, please consider Processed Resources app module.
Module structure
ArtifactId | Description |
---|---|
magnolia-resources-parent | Parent reactor |
magnolia-resources | Contains the API and core functionalities, such as the ResourcesServlet. |
magnolia-resources-app | Hosts the Resources Files app. |
| Contains the resfn templating functions. |
Installing
Maven is the easiest way to install the module. Add the following dependencies to your bundle:
<dependency> <groupId>info.magnolia.resources</groupId> <artifactId>magnolia-resources-app</artifactId> <version>2.6.3</version> </dependency>
<dependency> <groupId>info.magnolia.resources</groupId> <artifactId>magnolia-resources-templating</artifactId> <version>2.6.3</version> </dependency>
Since the above two modules both depend on magnolia-resources, you do not have to add the dependency of the latter to your pom file, Maven will handle the dependency.