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
Maven with Cygwin - Error: JAVA_HOME is not defined correctly
The "alias mvn=mvn.bat" answer toward the bottom of above post worked for me. However, is this THE solution?