Question: When two dependencies of your Maven project introduce the same transitive dependency with different versions, which one(s) will be included in the dependency list for your project?
- the dependency with the higher version
- the transitive dependency that comes from the dependency listed first in the pom.xml file
- the transitive dependency that comes from the dependency listed last in the pom.xml file
- the transitive dependency version of the artifact that is closest to your project
Answer: The correct answer of the above question is Option D:the transitive dependency version of the artifact that is closest to your project