How to see which dependency is causing specific jar to down load into repository for maven

Viewed 1398

We have multi module environment where in we have lot of poms that uses numerous dependencies.

1) How to see which dependency in our pom causing a specific jar to download into repository.

Eg : I have commons-lang3 in all my poms .But some included dependency in pom's is downloading older jars into my repo which I need to avoid.I did mvn dependency:tree but this didn't helped me. Since my application is a mammoth its very difficult to go and see all the dependencies that are included.

Is there any way we can check which included dependency is causing older versions of jar to download

Any one who can shed some light would be appreciated.

Thanks Praveen

2 Answers
Related