create md5 hash files for a maven repo

Use this command to generate .md5 hash files for all of the libraries in your maven repository, on mac:

find -E . -regex ".*(\.jar|\.pom)$" -exec sh -c "/sbin/md5 -q '{}' > '{}.md5'" \;

on linux try this:

find . -regextype posix-extended -regex ".*(\.jar|\.pom)$" -exec sh -c "/usr/bin/md5sum '{}' > '{}.md5'" \;