You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

What is a software BOM?

A Software Bill of Materials (software BOM) is a list of components in a piece of software. Software vendors often create products by assembling open source and commercial software components. The software BOM describes the components in a product. It is analogous to a list of ingredients on food packaging. (Wikipedia)

BOM in Magnolia

Since the release of Magnolia 5.5.7 you may optionally use a special BOM project to centralize dependencies for third-party modules instead of managing them in the magnolia-main module and some other modules like magnolia-ui and rest . This third-party BOM project is a just plain Maven POM project whose only responsibility is to manage the versions of third-party dependencies in POM file such as magnolia-external-dependencies-5.5.7.pom .

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):

<dependencyManagement>
 <dependencies>
  <dependency>
   <groupId>info.magnolia.boms</groupId>
   <artifactId>magnolia-external-dependencies</artifactId>
   <version>5.5.7</version>
   <type>pom</type>
   <scope>import</scope>
  </dependency>
 </dependencies>
</dependencyManagement>
If you use magnolia-main parent ( info.magnolia:magnolia-project ) to manage the third-party dependencies as well, we recommend that you use our third-party BOM for this in the future. You can apply the change at any time you want.

The BOM in Magnolia 5.5.7

Released for Magnolia 5.5.7, the BOM below (click the link to expand and see the content) centralizes the dependencies originally scattered around the following modules (projects):

  • magnolia-main
  • magnolia-ui
  • magnolia-rest
  • magnolia-cache-browser-app
  • magnolia-module-mail

Error rendering macro 'code-pro'

Error loading data from https://nexus.magnolia-cms.com/service/local/repositories/magnolia.public.releases/content/info/magnolia/boms/magnolia-external-dependencies/5.5.7/magnolia-external-dependencies-5.5.7.pom

See also

#trackbackRdf ($trackbackUtils.getContentIdentifier($page) $page.title $trackbackUtils.getPingUrl($page))
  • No labels