概述
m2eclipse是一个在eclipse中集成Maven的插件
官网说名地址:http://www.eclipse.org/m2e/
官网下载地址:http://download.eclipse.org/technology/m2e/releases
M2Eclipse provides tight integration for Apache Maven into the IDE with the following features:
- Launching Maven builds from within Eclipse
- Dependency management for Eclipse build path based on Maven’s pom.xml
- Resolving Maven dependencies from the Eclipse workspace without installing to local Maven repository
- Automatic downloading of the required dependencies from the remote Maven repositories
- Wizards for creating new Maven projects, pom.xml and to enable Maven support on plain Java project
- Quick search for dependencies in Maven remote repositories
m2eclipse安装
1、“Standard” Eclipse distribution 4.5 or newer from http://www.eclipse.org/downloads/
2、m2e 1.7 or newer from http://download.eclipse.org/technology/m2e/releases/, including semi-hidden m2e SDK feature (uncheck “Group items by category” to see it)
参考地址:http://www.eclipse.org/m2e/documentation/m2e-extension-development.html
m2eclipse功能
- 创建和导入Maven项目
- 管理依赖并与Eclipse的classpath集成
- 自动下载依赖
- 自动解析依赖的sources与javadoc包
- 使用Maven Archetype创建项目
- 浏览与搜索远程Maven仓库
- 从Maven POM具体化一个项目
- 自动适配嵌套的多模块Maven项目至Eclipse
- 集成Web Tools Projects(WTP)
- 集成Subclipse
- 集成Mylyn
- 可视化POM编辑
- 图形化依赖分析