The 5.7 branch of Magnolia reached End-of-Life on December 31, 2023, as specified in our End-of-life policy. This means the 5.7 branch is no longer maintained or supported. Please upgrade to the latest Magnolia release. By upgrading, you will get the latest release of Magnolia featuring significant improvements to the author and developer experience. For a successful upgrade, please consult our Magnolia 6.2 documentation. If you need help, please contact info@magnolia-cms.com.


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

ArtifactIdDescription
magnolia-resources-parentParent reactor
magnolia-resources

Contains the API and core functionalities, such as the magnolia-publishing-core.

magnolia-resources-app

Hosts the Resources Files app.

magnolia-resources-templating

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>
</dependency>
<dependency>
  <groupId>info.magnolia.resources</groupId>
  <artifactId>magnolia-resources-templating</artifactId>
</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.