I really dislike how #Maven outputs text during a build. Gonna be extremely difficult to automate my next task because Maven's output is definitely not even meant for human eyes, let alone machine.

This is not easily parsed by machines (or even humans). Some version numbers are on the same line, others are on a separate line.

There's extraneous and unneeded info.

And there's no way to influence the appearance of the output. For example, the ps command as the -w flag to explicitly set wide text output mode.

#Maven #Java #Programming

@lattera apparently you can increase line width with versions.outputLineWidth (default is 80)
Workaround could be to output to a file maybe
Haven’t tested that line width option but I hope that helps

@xilerk Good catch! This command did the trick:

$ mvn -D versions.outputLineWidth=${COLUMNS} versions:display-dependency-updates

Of course, ${COLUMS} could be set to some arbitrary huge value to help better ensure single line per dependency.

Thanks a bunch for the suggestion! :-)

#Maven #Java #Programming