I have several sets of libraries. For example:
- Core 1.0
- Core 1.5
- Web 1.0 (uses Core 1.0)
- Drawing 1.0 (uses Core 1.5)
My problem arises when I have a project that uses both the Web and Drawing libraries. I hard-code the version number of the Core library in a dependencyManagement section of my project, and update it from time to time. I want to make sure that if a newer version of Core is used by Web or Drawing, that I update the version number in dependencyManagement.
versions:display-dependency-updates tells me if there are any new versions of Core available, but I don't want to update to a newer version unless Web or Drawing requires it.
Is there a way to determine if dependencies require newer versions of other dependencies than my project is using?
Thanks.