23

What's the difference on a mvn dependency-tree output between a '+' and a '\'. It seems fairly arbitrary to me, but I'm sure it's not...

+- com.tom:artifact:pom:6.0.0:compile
|  +- com.tom:artifact2:jar:1.0.4:compile
|  \- com.tom:artifact3:jar:6.0.0:compile
|     \- (com.tom:artifact4:jar:1.0.4:compile - omitted for duplicate)

[I've obviously removed the actual group/artifact ids...]

Tom
  • 463
  • 4
  • 10

1 Answers1

27

It's only ASCII-Line-Drawing. It only appears at the bottom line (last leave) of a branch as a kind of a south-west corner.

+- first entry first level
|  +- 1.1 second level
|  \- 1.2 second level
+- second entry first level
\- last entry first level

It also clarifies that 1.2 second level has nothing to do with second entry first level which otherwise mayby considered connected with the south pin of the plus.

Volker Seibt
  • 1,479
  • 16
  • 19