Let's say I have 3 libs, compiled using Maven: A, B and C.
And let's say I have this project:
Dependency C is included in A and B.
After compiling My project, dependency C will be present by 3 times? Or just once?
My project
C
All of them use same version of C
Maven manages transitive dependencies in a way that of each artifact, only one version will be used for the project.
If you have different versions, the version is decided by Maven dependency mediation.
2.1m questions
2.1m answers
60 comments
57.0k users