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
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment