I would like to know the difference between Parent and BOM in pom. It looks like both solves the same problem where you do not want to include version in each individual project, but maintain it in a central (parent / BOM) maven.
Can anyone help me understand? Thank you.
You can only have one parent, but you can import multiple BOMs into your Maven project.
Also, importing a BOM will only import the dependencyManagement, while having a parent will import everything you have in that pom.
This is specially useful when you want to provide a set of default configurations for When you set the parent, you inherit all the plugin versions (and configurations) done in those plugins.