Create a BOM file

757 Views Asked by At

I have a Maven-based multi-module Java project that builds a number of jar files (libraries) for use by other applications.

There are 5 modules in this project, each creating a separate jar file. They all have the same version number. I would like the applications that use my libraries to be able to import a BOM file so that they can then import each individual dependency without having to specify the version number individually.

I've read lots of pages on the internet about how to use a BOM file, but I couldn't find out how to create one. Is there a Maven plugin or something that generates a BOM file along with the jar files when you build the project? Or is the BOM file generated in some other way? My question is how to I go about creating the BOM file for my libraries?

0

There are 0 best solutions below