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. |
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:
Error rendering macro 'artifact-maven-dependencies-snippet-macro'
com.sun.jersey.api.client.ClientHandlerException: A message body reader for Java class info.magnolia.sys.confluence.plugin.artifactinfo.nexus.entities.SearchNGResponse, and Java type class info.magnolia.sys.confluence.plugin.artifactinfo.nexus.entities.SearchNGResponse, and MIME media type application/octet-stream was not found
Error rendering macro 'artifact-maven-dependencies-snippet-macro'
com.sun.jersey.api.client.ClientHandlerException: A message body reader for Java class info.magnolia.sys.confluence.plugin.artifactinfo.nexus.entities.SearchNGResponse, and Java type class info.magnolia.sys.confluence.plugin.artifactinfo.nexus.entities.SearchNGResponse, and MIME media type application/octet-stream was not found
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.
Error rendering macro 'artifact-resource-macro'
com.sun.jersey.api.client.ClientHandlerException: A message body reader for Java class info.magnolia.sys.confluence.plugin.artifactinfo.nexus.entities.SearchNGResponse, and Java type class info.magnolia.sys.confluence.plugin.artifactinfo.nexus.entities.SearchNGResponse, and MIME media type application/octet-stream was not found
Error rendering macro 'artifact-resource-macro'
com.sun.jersey.api.client.ClientHandlerException: A message body reader for Java class info.magnolia.sys.confluence.plugin.artifactinfo.nexus.entities.SearchNGResponse, and Java type class info.magnolia.sys.confluence.plugin.artifactinfo.nexus.entities.SearchNGResponse, and MIME media type application/octet-stream was not found
Error rendering macro 'artifact-resource-macro'
com.sun.jersey.api.client.ClientHandlerException: A message body reader for Java class info.magnolia.sys.confluence.plugin.artifactinfo.nexus.entities.SearchNGResponse, and Java type class info.magnolia.sys.confluence.plugin.artifactinfo.nexus.entities.SearchNGResponse, and MIME media type application/octet-stream was not found
#trackbackRdf ($trackbackUtils.getContentIdentifier($page) $page.title $trackbackUtils.getPingUrl($page))