Install Maven Plugin in Eclipse Juno

1. Click on your eclipse shortcut menu.

2013-01-31_092450

 

2. Hit Help > Eclipse Marketplace and search for ‘m2e‘. Click Install button to proceed.

2013-01-31_092254

 

3. Click Next to continue.

2013-01-31_092315

 

4. Select ‘I accept the terms of the license agreement‘. Click Finish button.

2013-01-31_092324

 

5. Installing the plugin.

2013-01-31_092333

 

6. Restart eclipse for the changes to take effect.

2013-01-31_092440

 

7. Finish.

2013-01-31_092521

install maven on windows7 64bit

1. download maven (link: http://maven.apache.org/download.html)

2. extract and paste to drive C:\ (rename to maven)

3. right click on Computer and choose Properties > Advanced system settings > Environment Variables


4. click on button New

– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –

Variable Name: JAVA_HOME

Variable Value: C:\Program Files\Java\jdk1.6.0_30

– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –

Variable Name: M2_HOME

Variable Value: C:\maven

– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –

Variable Name: M2

Variable Value: %M2_HOME%\bin

– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –

5. edit Path (add %JAVA_HOME%\bin;%M2%;)

6. Start > cmd and enter

type mvn -version