Hubert Bratek
Hubert Bratek

Reputation: 1104

Maven Pom update difference in dependencies

I have a pom file with multiple dependencies(spring boot, hibernate etc.) When I change version of one of them, many others are updated, such as hamcrest. Is there any way to track, what are the changes which occur when You change the version of Your dependency? For example when You change the version of spring-boot-dependencies, You can see that there is a possibility to change the hamcrest or jackson version.

Upvotes: 1

Views: 208

Answers (1)

xandermonkey
xandermonkey

Reputation: 4412

What I do is I run mvn dependency:tree before making the change. Save the output to a text file, then make the change and run the same command. Save that output to another text file.

You can then compare the two however you'd like. compare two files in UNIX

Upvotes: 2

Related Questions