Eclipse Update plug-in method (MAVEN)
Take maven for example:
The first is to go to MAVEN website to find the plugin download address:
M2eclipse Core Update site:http://m2eclipse.sonatype.org/sites/m2e
Then install the following diagram simple operation can be installed successfully:
First step: Choose to install new software:
2: Add Maven Address
3. Add plugin Name
Four Check Installation
Exceptions that appear after you install Maven:
Maven:the Maven integration requires that Eclipse is running in a JDK
Solution:
The fully error message so you might get are as follows:the Maven integration requires that Eclipse being running in a JDK, Because a
Number of Maven core plugins are using jars from the JDK.
Sure THE-VM option in Eclipse.ini are pointing to a JDK and verify
That installed JREs are also using JDK installs.
To solve this problem add a new option into your Eclipse.ini (which are located in your Eclipse installation folder):-VM C : \program Files\java\jdk1.6.0_06\bin\javaw.exe
It is important to have the the correct location otherwise Eclipse'll have no clue about this setting:-SHOWSP Lash
Org.eclipse.platform
--launcher. Xxmaxpermsize
256M
-VM
C:\Program Files\java\jdk1.6.0_06\bin\javaw.exe
-vmargs
-dosgi.requiredjavaversion=1.5
-xms40m
-xmx512m
It has to be before the -vmargs argument.