I am building a java project using maven, and i noticed that in one of the sub-project, jsonwebtoken 0.7.0 is included.
https://github.com/WebGoat/WebGoat/blob/develop/webgoat-lessons/challenge/pom.xml
Then from maven repo (https://repo1.maven.org/maven2/io/jsonwebtoken/jjwt/0.7.0/jjwt-0.7.0.pom), jsonwebtoken 0.7.0 has a dependency of jackson-databind v2.8.2;
However, when I trace from maven debug log, jackson-databind v2.10 was actually pulled by maven.
I understand that if a component version is not explicitly defined in POM, maven would default to latest, however, in above case, why would maven still chose to override the version to latest?
thanks!



