Because of the work requirement, I need to use Eclipse version 3.7.2 (Indigo) & maven 0.10.2
But the network condition are so poor to install this maven online. So I need to search a through to the install this offline.
1. Download All files from http://m2eclipse.sonatype.org/sites/m2e/
Enter the folder of your required version, download 2 XML & all JAR files within features & plugins.< /c2>
Make a folder in the your PC named "m2e", put all these files to that folder. Don ' t change the folder structure.
Put the folder "M2E" directly into "Dropins" folder in your Eclipse directory.
2. Modify Eclipse.ini and ADD-VM param.
If You launch eclipse now, you'll see a warning-let's change your INI file.
Edit your Eclipse.ini file, add 2 lines Before-vmargs. For example, mine is:
--launcher.defaultaction
OpenFile
-vm
D:\Program Files (x86) \java\jdk1.7.0_17\bin
-vmargs
-xms40m
-xmx384m
After testing, whitespaces in the dir is allowed. Os:windows 7.
Eclipse Install MAVEN m2e-eclipse offline installation of M2E plug-ins and Eclipse.ini configuration-VM parameters