I recently had to go through and verify all the Maven dependencies in a project.
Here are the commands I ran on my Mac.
# resolve dependencies
mvn dependency:resolve
# list dependencies, then sort and format
mvn -o dependency:list \ | grep ":.*:.*:.*" \ | cut -d] -f2- \ | sed 's/:[a-z]*$//g' \ | sort -u
Friday, January 10, 2014
Subscribe to:
Posts (Atom)