Social Media

Tag Archives for " bom "

Maven bill of materials (bom)

The purpose of a bill of materials(bom) is to centrally manage Maven dependencies and reduce the chances of version mismatches. The concept is orignally from supply chain management where it is used to track parts.

The key points of boms are –

  • Special maven project to centrally manage dependencies
  • Managed in dependencyManagement section of type – <type>pom</type>
  • Allow dependencies to cascade down through projects using <dependencyManagement>
  • The bill of materials pom.xml will only list supported versions
  • Simplify dependency import in child projects because you do not need to specify dependency versions


One advantage of bill-of-materials is that you can set out the recommended version dependencies, and use these through your application framework-


You can then import dependencies in sub-project pom’s without version numbers –