Maven dependency resolution (conflicted)

The maven way of resolving situations like this is to include a <dependencyManagement> section in your project’s root pom, where you specify which version of which library will be used.



Now no matter which version of library foo:bar is requested by a dependency, version 1.2.3 will always be used for this project and all sub-projects.


Leave a Comment