Resources module
Developer productivity Bundled: Community Edition
Edition |
CE |
License |
|
Issues |
|
Maven site |
|
Latest |
3.0.10 |
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
Bundled modules are automatically installed for you.
If the module is unbundled, add the following to your bundle including your project’s <dependencyManagement>
section and your webapp’s <dependencies>
section.
If the module is unbundled but the parent POM manages the version, add the following to your webapp’s <dependencies>
section.
<dependency>
<groupId>info.magnolia.resources</groupId>
<artifactId>magnolia-resources-app</artifactId>
<version>3.0.10</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>3.0.10</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.
|