Created
August 5, 2016 04:55
-
-
Save dannyge/473d4584d077fa505cca06bae392972b to your computer and use it in GitHub Desktop.
list maven dep
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# first grab all dependencies | |
mvn dependency:resolve | |
# then list them with -o to keep noise low, | |
# remove extra information and duplicates | |
mvn -o dependency:list \ | |
| grep ":.*:.*:.*" \ | |
| cut -d] -f2- \ | |
| sed 's/:[a-z]*$//g' \ | |
| sort -u |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment