Did you check if C:\Apache Maven\apache-maven-3.0.5\bin exists and there is mvn in it??
>From the wiki page “ Choose folder such that there are no spaces in the path! E.g. C:\bin\maven " ~Rajani On 23-Jul-2014, at 10:57 am, Priyanka Deepala <priyanka.deepal...@gmail.com<mailto:priyanka.deepal...@gmail.com>> wrote: I followed the same steps & added variable M2_HOME and specified the path as C:\Apache Maven\apache-maven-3.0.5. %M2_HOME%\bin is added to to PATH variable but still I'm getting the same error Regards Priyanka On Wed, Jul 23, 2014 at 10:37 AM, Rajani Karuturi < rajani.karut...@citrix.com<mailto:rajani.karut...@citrix.com>> wrote: What did you add to the PATH? did you miss M2_HOME/bin?? FYI, This came on the first page when googled for “cygwin maven windows” http://www.mkyong.com/maven/how-to-install-maven-in-windows/ https://cwiki.apache.org/confluence/display/CLOUDSTACK/Setting+up+a+CloudStack+dev+environment+on+Windows Step-8 has details on how to setup maven Please spend a little time on google. ~Rajani On 23-Jul-2014, at 10:27 am, Priyanka Deepala < priyanka.deepal...@gmail.com<mailto:priyanka.deepal...@gmail.com>> wrote: I Installed maven-3.0.5.src and specified the path in environment variable PATH. When I'm trying to test it in Cygwin shell by typing 'which mvn' it is displaying as "no mvn in that path..So What should I do now??