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

The Tools module provides an app and some commands useful for manipulating repository content. The app, known as Repository Tools, can be found under the Tools menu of admincentral. 

Please note that the artifact's IDs (Maven groupId and artifactId) have changed since Magnolia 5.5.

If you have custom Java code relying on this module, you need to install a compatibility module too.

Check Git for the new module structure.

Installing

Maven is the easiest way to install the module. Add the following dependency to your bundle:

Note the changes in groupId and artifactId since the 1.9 release.

<dependency>
  <groupId>info.magnolia.tools</groupId>
  <artifactId>magnolia-tools</artifactId>
  <version>1.9</version>
</dependency>

Pre-built jars are also available for download. See Installing a module for help.

Compatibility module

With Magnolia 5.6 we've begun removing the old Content API from our modules. If you have custom code relying on classes from the old tools module then you must do one of two things:

  • Update your code for the new version of the tools module.
  • Or you can use the magnolia-tools-compatibility module together with the magnolia-core-compatibility module.

 Click here to expand to see how to add the compatibility module

With maven:

Add the following snippet to you pom file:

<dependency>
  <groupId>info.magnolia.tools</groupId>
  <artifactId>magnolia-tools-compatibility</artifactId>
  <version>1.9</version>
</dependency>

Manually:

Add these jar files to the WEB-INF/lib folder of your webapp:

Usage

See Repository Tools app.