Page tree
Skip to end of metadata
Go to start of metadata

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.

Module structure

ArtifactIdDescription
magnolia-resources-parentParent reactor
magnolia-resources

Contains the API and core functionalities, such as the ResourcesServlet.

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>
  <version>3.0.2</version>
</dependency>

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