Maven依赖树 - 加号(+)vs反斜杠(\)

Tom*_*Tom 10 maven maven-dependency-plugin

mvn dependency-tree"+"和"\"之间输出的区别是什么.对我来说这似乎相当武断,但我确信它不是......

+- 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)
Run Code Online (Sandbox Code Playgroud)

[我显然删除了实际的组/工件ID ...]

Vol*_*ibt 15

它只是ASCII-Line-Drawing.它只出现在一个分支的底线(最后一个离开)作为一个西南角.

+- first entry first level
|  +- 1.1 second level
|  \- 1.2 second level
+- second entry first level
\- last entry first level
Run Code Online (Sandbox Code Playgroud)

它还澄清了1.2 second levelsecond entry first level否则可能被认为与加号的南针相关的无关.