Is there a Maven equivalent of "gradle dependencyInsight"?

In gradle, the command gradle dependencyInsight --dependency <artifact-name> prints a reverse dependency graph for a specific artifact.

Is there something equivalent in Maven?

I'm aware of mvn dependency:tree. This is the equivalent of gradle dependencies. However this is not what I'm asking about.

Answers


One way is to use filtering with maven dependency plugin

mvn dependency:tree -Dincludes=[groupId]:[artifactId]:[type]:[version]

Check the link, there is an example. The output isn't actually in reverse but it shouldn't be too hard to read it in reverse by yourself.

Eclipse-IDE has some nice features which allows dependencies to tracked without using command line. Open pom.xml, open dependency hierarchy tab and there, dependencies can be filtered. Other IDEs might have similar features as well.


Need Your Help

Unable to extract obb file downloaded from google play application

android zip extract expansion

I implmeneted apk expansion successfully.And obb file downloaded at Android->Obb->PackageName->com.1.com.packagename.obb

List with datamodel won't get bound to json object

c# jquery json asp.net-mvc-3 post

I've had this problem before and I've never solved it in a good way.