depgraph-maven-plugin icon indicating copy to clipboard operation
depgraph-maven-plugin copied to clipboard

no parent link....

Open clembo590 opened this issue 5 months ago • 1 comments

when I run mvn com.github.ferstl:depgraph-maven-plugin:4.0.3:aggregate on your test project I get no information about the fact that module 1 and module 2 are children of parent [I expect to get something like this]

aggregated

And I got this:

digraph "parent" {
  node [shape="box",style="rounded",fontname="Helvetica",fontsize="14"]
  edge [fontsize="10",fontname="Helvetica"]

  // Node Definitions:
  "com.github.ferstl:module-1:jar:compile"[label=<module-1>]
  "commons-codec:commons-codec:jar:compile"[label=<commons-codec>]
  "org.apache.commons:commons-lang3:jar:compile"[label=<commons-lang3>]
  "org.junit.jupiter:junit-jupiter:jar:test"[label=<junit-jupiter<font point-size="10"><br/>(test)</font>>]
  "com.github.ferstl:module-2:jar:compile"[label=<module-2>]
  "com.google.guava:guava:jar:compile"[label=<guava>]
  "org.springframework:spring-core:jar:compile"[label=<<font point-size="10">&lt;optional&gt;</font><br/>spring-core>]
  "com.github.ferstl:module-3:jar:compile"[label=<module-3>]
  "com.querydsl:querydsl-core:jar:compile"[label=<querydsl-core>]
  "com.mysema.commons:mysema-commons-lang:jar:compile"[label=<mysema-commons-lang>]

  // Edge Definitions:
  "com.github.ferstl:module-1:jar:compile" -> "commons-codec:commons-codec:jar:compile"
  "com.github.ferstl:module-1:jar:compile" -> "org.apache.commons:commons-lang3:jar:compile"
  "com.github.ferstl:module-1:jar:compile" -> "org.junit.jupiter:junit-jupiter:jar:test"
  "com.github.ferstl:module-2:jar:compile" -> "com.github.ferstl:module-1:jar:compile"
  "com.github.ferstl:module-2:jar:compile" -> "com.google.guava:guava:jar:compile"
  "com.github.ferstl:module-2:jar:compile" -> "org.springframework:spring-core:jar:compile"
  "com.github.ferstl:module-2:jar:compile" -> "org.junit.jupiter:junit-jupiter:jar:test"
  "com.github.ferstl:module-3:jar:compile" -> "com.github.ferstl:module-2:jar:compile"
  "com.querydsl:querydsl-core:jar:compile" -> "com.mysema.commons:mysema-commons-lang:jar:compile"
  "com.github.ferstl:module-3:jar:compile" -> "com.querydsl:querydsl-core:jar:compile"
}

Screenshot 2024-08-30 at 12 02 22

clembo590 avatar Aug 30 '24 10:08 clembo590