I have cygwin in Windows 7 and downloaded and installed maven \"binaries\" and have the following set
export JAVA_HOME=/cygdrive/c/java/jdk1.7.0_11 export MA
change the JAVA_HOME path in .bashrc_profile file