Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: BOM section update

...

In Magnolia 5.6.x you can optionally define third-party dependencies in a different way. Previously, dependency management information about third-party modules was defined in the parent poms of magnolia.main and magnolia.ui . You may now use a software BOM (Bill of materials) project instead. The project can then be imported in all modules. This ensures that the versions of the third-party modules are the same.

To use a BOM in your project, include the following code snippet as the very first dependency in the dependency management section of the parent poms and adjust the version number accordingly (the number is in sync with the bundle version):

Code Block
languagexml
<dependencyManagement>
  <dependencies>
    <dependency>
      <groupId>info.magnolia.boms</groupId>
      <artifactId>magnolia-external-dependencies</artifactId>
       <version>5.6</version>
       <type>pom</type>
       <scope>import</scope>
    </dependency>
  </dependencies>
</dependencyManagement>

The BOM feature was made available for the first time in in Magnolia 5.5.7. For further information on how to use a BOM in your project, please see the BOM for third-party modules page.

Using Standard Templating Kit (STK)?

...