Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Maven run "dependency:tree" at start of "test" phase

Tags:

maven

phase

I need to get the "dependency:tree" goal output from Maven at the start of the "test" phase, to help debug an issue for which I need to know what versions of everything are being used.

In Ant it would have been easy, I've looked through the Maven docs and numerous answers on here but still can't figure it out, surely it's not that hard?

like image 913
Ed Randall Avatar asked Oct 02 '12 09:10

Ed Randall


1 Answers

This will output the test dependency tree:

mvn test dependency:tree -DskipTests=true
like image 197
trask Avatar answered Sep 25 '22 15:09

trask