Sunday, June 29, 2014

maven on cygwin

http://maven.apache.org/download.cgi#Windows

1. Download and extract to C:\Program Files\Apache Software Foundation
2. Computer -> Properties, Advanced system settings -> Advanced -> Environment Variables
3. In "user variables", set M2_HOME, M2, JAVA_HOME. And place %M2% at the end of PATH
4. Open cygwin terminal and check with "mvn --help"

[Note] cygwin will use windows PATH, you can type PATH in cmd.exe, and check "printenv PATH" in cygwin

No comments:

Related Posts Plugin for WordPress, Blogger...