Project modules dependency diagram showing false dependencies
I am generating a dependency diagram of a multimodule maven project to see the dependencies between the modules and I'm getting dependencies that don't exist. There are direct edges between modules that are not related. The only detail I see about these false edges is that they are Managed Dependencies in the root pom inherited by all the children. Is there any way to hide or ignore managed dependencies in the module dependency diagram? is this a bug or by design?
My structure in pseudo-pom, hopefully it's clear:
root pom
<modules>
a
b
c
</modules>
<managedDependency>
module c
</managedDependency>
module a
<parent>root pom</parent>
<dependency>module b</dependency>
Now if I go to module A and right click on it and choose Diagrams > Project Modules, I get a graph with an edge from A to B (correct) but also one from A to C (incorrect since A never declared that dependency)
Please sign in to leave a comment.
Try to configure the scope in Settings: