Resources module
Developer productivity Bundled: Community edition
Edition |
CE |
License |
|
Issues |
|
Maven site |
|
Latest |
4.0.1 |
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
ArtifactId | Description |
---|---|
|
Parent reactor |
|
Contains the API and core functionalities, such as info.magnolia.module.resources.ResourcesServlet. |
|
Hosts the Resources Files app. |
|
Contains the resfn templating functions. |
Installing with Maven
Maven is the easiest way to install the module. Add the following to your bundle:
<dependency>
<groupId>info.magnolia.resources</groupId>
<artifactId>magnolia-resources-app</artifactId>
<version>4.0.1</version> (1)
</dependency>
1 | Should you need to specify the module version, do it using <version> . |
<dependency>
<groupId>info.magnolia.resources</groupId>
<artifactId>magnolia-resources-templating</artifactId>
<version>4.0.1</version> (1)
</dependency>
1 | Should you need to specify the module version, do it using <version> . |
Since the dependencies for these modules depend on magnolia-resources , you don’t need to add them if magnolia-resources is already in your POM file. Maven will handle the dependencies.
|