Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Magnolia 5.7 updates magnolia-module-groovy to the version 2.7 - which ships the latest stable version of apache groovy 2.5.(warning) Earlier

Note

Earlier versions of groovy have been delivered within one single jar file groovy-all - but this library does not exist anymore and has been split up into several different sub libraries. magnolia-module-groovy-2.7

...

 ships only with the minimal required set of libraries:

  • groovy-2.5.0.jar
  • groovy-xml-2.5.0.jar

Some of your custom groovy scripts may require additional libraries.

Expand
titleClick here to see the Maven dependencies for the groovy libs bundled with Magnolia



Expand
titleClick here to see the Maven dependencies for the groovy libs bundled with Magnolia
Code Pro
languagexml
<dependency>
  <groupId>org.codehaus.groovy</groupId>
  <artifactId>groovy</artifactId>
  <version>2.5.0</version>
</dependency>
<dependency>
  <groupId>org.codehaus.groovy</groupId>
  <artifactId>groovy-xml</artifactId>
  <version>2.5.0</version>
</dependency>

 

How to update

Recommendations

...

  1. Stop the application server.
  2. Extract the new Magnolia bundle.
  3. Replace JAR files in the WEB-INF/lib folder of your old Magnolia instances with new JARs from the bundle.
    (warning) Note that Magnolia  Magnolia 5.7 updates numerous 3rd-party libraries - see Java 8, 9 and 10 runtime compatibility and library updates.
  4. Remove any module JARs you had previously removed from your instances. Add any modules you might have added.
    (warning) Note that we  We have removed a few modules from the add-ons. Some of them you must remove. See Removing outdated add-on modules.
  5. Add new introduced modules - see Adding the privacy modules.
  6. Optional: Delete all indexes to give them a little boost. Delete the index folder under each workspace directory: repositories/magnolia/workspaces/<workspace>/index. Indexes are recreated on startup, which might take a while depending on the size of your repository.
  7. If you customized magnolia.properties files, compare the changes to the file in the new bundle. Properties may have been added and removed.
  8. Read release notes for all intermediary versions for any additional update tasks.
  9. Restart the application server.
  10. Using your browser, go to the Magnolia instances and run the Web update.

...