Chen Kozhan-Welcome reprint, Reproduced Please indicate, thank you!
==================
1. Introduction
2.m2eclipse
3. Installing the M2eclipse Plugin
========================================
1. Introduction
The Eclipse IDE can be said to be the most widely used IDE for Java Developers (integrated development environment (integrated development
environment)) there's a whole bunch of plugins in eclipse, and M2eclipse is one of Eclipse's many plugins, M2eclipse project in Eclipse
Support for MAVEN is available in the IDE.
2.m2eclipse
The M2eclipse plug-in (http://m2eclipse.codehaus.org/) provides MAVEN integration for Eclipse. M2eclipse is also linked to the
The Subclipse plug-in (http://subclipse.tigris.org/) and Mylyn plug-in (http://www.eclipse.org/mylyn/) features are connected in this way.
The Subclipse plugin provides m2eclipse with the ability to interact with the Subversion repository, and the Mylyn plugin provides m2eclipse interface to the task set.
The ability of the interface to track the context of the development process.
Some of the features offered by M2clipse include:
? Creating and introducing MAVEN projects
? Dependency management and integration with Eclipse CLASSPATH
? Automatic Download and update dependencies
? Javadoc and source code Analysis of component
? Create a project using MAVEN archetypes
? Browse, search for remote maven repositories
? Manage pom by automatically updating dependent lists
? Materialize a project from Maven Pom
? Check out a MAVEN project from multiple SCM warehouses
? Fit nested multi-module MAVEN project to eclipse IDE
? Integration with Web Tools Project (WTP)
? Integration with AspectJ development Tools (AJDT)
? Integration with Subclipse
? Integration with Mylyn
? Form-based POM editor
? Graphical display of dependent graphs
? Dependency tree and resolved dependent GUI presentation
There are many other features m2eclipse the above list.
3. Installing the M2eclipse Plugin
3.1. Installation Advance conditions
Elipse:help->install New Software...->add, the next is given name and Location->ok.
3.1.1. Installing Subclipse
To install Subclipse, use the following Eclipse plugin to update the site.
? Subclipse 1.2:http://subclipse.tigris.org/update_1.2.x
To learn more about other versions of Subclipse, and for more information about the Subclipse plugin, visit the web site of the Subclipse project :
http://subclipse.tigris.org/ .
3.1.2. Installing Mylyn
To install Mylyn with integrated Jira support, add Mylyn extras eclipse Update URL If your organization uses Atlassian ' s JIRA2 to
Follow the questions and you will need to do so. Use the following update site to install
Mylyn:
? Mylyn (Eclipse 3.3): http://download.eclipse.org/tools/mylyn/update/e3.3 3
? Mylyn (Eclipse 3.4): http://download.eclipse.org/tools/mylyn/update/e3.4
? Mylyn Extras (JIRA support): Http://download.eclipse.org/tools/mylyn/update/extras
For more information about the Mylyn project, visit the Mylyn project's Web site: http://www.eclipse.org/mylyn/.
3.1.3. Installing AspectJ Tools Platform (AJDT)
If you are installing M2eclipse version 0.9.4, you may also want to install Web Tools Platform (WTP) and AspectJ Develop s
ment Tools (AJDT). Use the following Eclipse update URL to install AJDT.
? AJDT (Eclipse 3.3): Http://download.eclipse.org/tools/ajdt/33/update
? AJDT (Eclipse 3.4): Http://download.eclipse.org/tools/ajdt/34/dev/update
To learn more about the AJDT project, visit the AJDT project's Web site http://www.eclipse.org/ajdt/.
3.1.4. Installing Web Tools Platform (WTP)
You want to install Web Tools Platform (WTP). Use the following Eclipse update URL, or look for the Web directly in the discovery site
Tool Project,
The site should already be in your Eclipse Remote Update site list.
? wtp:http://download.eclipse.org/webtools/updates/
For more information about Web tools platform, visit the Web site for Web tools platform projects
http://www.eclipse.org/webtools/.
3.2. Installing M2eclipse
Once you have installed these prerequisites, you install the M2eclipse plugin from the following Eclipse update URL:
? M2eclipse plug-in: http://m2eclipse.sonatype.org/update/
If you want to install the latest snapshot development version of the plug-in, you should use the following Development update URL instead of the previous URL.
? M2eclipse plugin (development snapshot): http://m2eclipse.sonatype.org/update-dev/.
If you have successfully installed this plugin, when you open window→preferences ... Time, you should
Be able to see a maven option in a list of options.
Maven and Eclipse:m2eclipse--Download and install