mvn dependency:tree command is used to print tree representation of project alone. code example Example: maven dependency tree mvn dependency:tree