Maven 2 & 3

Better detection of JAVA_HOME on Apple Mac OS X