Thursday, April 02, 2009

Using Maven in Eclipse on Windows

Using Maven in Eclipse on Windows

1. Install Maven binary (mvn.exe)
2. Add Maven binary path to PATH env variable
3. Set JAVA_HOME path
- go to My Computer -> Property -> Advanced -> Environment Variable

4. In Eclipse, go to
Help -> Software Update -> Find and Install
set "Search for new features to install" and click on Next button

5. Add "New Remote Site"
- m2eclipse : http://m2eclipse.codehaus.org/update
- Maven : http://m2eclipse.sonatype.org/update/

and install those plugins

No comments: