Setting up new Mac book for Java Dev
ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
$ emacs .profile
The .profile file is in your home directory. You want to have this setup so that maven and other utilities will not use JDK 1.6 which ships with some version of OSX. You want the utilities like maven to use JDK 1.7.
$ brew install maven
$ brew install git
Find my license key
Also installed about half dozen other things with brew. I love me some brew.