i have a jar file in my lib folder which is not in the pom file, so i was wondering which dependency downloaded this jar so i can exclude this jar from the dependency.
please advise if there’s a maven command to know which of my dependencies are downloading this jar.
Case:
i found in my classpath the jar slf4j-api-1.5.8.jar, and i want to know which dependency is downloading this jar so i can exclude this jar from the dependency.
Look for Maven Dependency Plugin
you can just run
to see complete dependency tree. But good if you read the doc.