MyEclipse 6.5 install maven plugin

1. Uninstall the original maven plug-in

MyEclipse 6.5 integrates the Maven plug-in, but there are many bugs. I am used to m2eclipse and don't want to waste time on it. To install m2eclipse, you need to uninstall the built-in maven plugin first. The uninstallation steps are as follows:
1. Delete the /eclipse/features/com.genuitec.myeclipse.maven_6.5.1.zmyeclipse650200806 directory
2. Enter the plugins directory and delete the following directories and jars Bag
com.genuitec.myeclipse.maven_6.5.1.zmyeclipse650200806
 org.maven.ide.components.archetype_common_2.0.0.20080331-1600
 org.maven.ide.components.maven_embedder_2.1.0.20080410-2200
 org.maven.ide.components.maven_model_edit_1.0.0.20080331-1600
 org.maven.ide.components.maven_scm_1.0.0.20080410-2200
 org.maven.ide.components.nexus_indexer_1.0.0.20080331-1600
 org.maven.ide.components.qname_1.0.0.20080331-1600
 com.genuitec.eclipse.maven_6.5.1.zmyeclipse650200806.jar
 org.maven.ide.eclipse.central_0.9.1.zmyeclipse650200806.jar
 org.maven.ide.eclipse.scm_0.9.2.zmyeclipse650200806.jar
 org.maven.ide.eclipse_0.9.3.zmyeclipse650200806.jar


2. Install m2eclipse online

1.Help -> Find and Install ->Search for new features to install->New Remote Site
name:m2eclipse
url:http://m2eclipse.sonatype.org/sites/m2e/0.10.0.20100209-0800/


2. Click Finish to start the automatic search. This link was easy to use before, but when I download it today, it always prompts an error, and direct access also prompts that the content cannot be found. It seems that the place has been moved. Finally found this post on the official website Where did http://m2eclipse.sonatype.org/sites/m2e go? According to the prompts, I found the latest address
http://repository.sonatype.org/content/sites/forge-sites/m2e/post content
As of June 2013, that site has been shut down because M2Eclipse was moved to the Eclipse Foundation years ago.

You can access the archived M2Eclipse sites (including 0.12) here:

https://repository.sonatype.org/content/sites/forge-sites/m2e/

For more information on how to access current m2e releases, see http://eclipse.org/m2e/download/.

So the above address becomes like this
name:m2eclipse
url:http://repository.sonatype.org/content/sites/forgesites/m2e/0.10.0/S/20100209-0800/

There is no problem to install it again.

3. Set maven
Window->preferences, search for maven, select the local maven configuration file in User Settings, Update Settings->Apply->OK

3. Problem After

restarting MyEclipse, an exception pops up
Eclipse is running in a JRE, but a JDK is required
Some Maven plugins may not work when importing projects or updating source folders.


For specific solutions, see this link http://www.blogjava.net/itvincent/archive/2010/07/25/327101.html

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326975119&siteId=291194637