The 5.7 branch of Magnolia reached End-of-Life on December 31, 2023, as specified in our End-of-life policy. This means the 5.7 branch is no longer maintained or supported. Please upgrade to the latest Magnolia release. By upgrading, you will get the latest release of Magnolia featuring significant improvements to the author and developer experience. For a successful upgrade, please consult our Magnolia 6.2 documentation. If you need help, please contact info@magnolia-cms.com.


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 to your bundle. The parent POM of your webapp project should set the latest version of the module automatically. Should you need to use a specific module version, you can define it using the <version/> in the dependency.

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

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


Compatibility module

We have been gradually removing the old Content API from our modules since Magnolia 5.6. 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.

With maven:

Add the following snippet to you pom file:

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


Usage

See Repository Tools app.