1.配置 <localRepository>E:/mvnrepository</localRepository> 本地仓库位置
2.阿里云库配置
<mirrors>
<!-- mirror
| Specifies a repository mirror site to use instead of a given repository. The repository that
| this mirror serves has an ID that matches the mirrorOf element of this mirror. IDs are used
| for inheritance and direct lookup purposes, and must be unique across the set of mirrors.
|
<mirror>
<id>mirrorId</id>
<mirrorOf>repositoryId</mirrorOf>
<name>Human Readable Name for this Mirror.</name>
<url>http://my.repository.com/repo/path</url>
</mirror>
-->
<mirror>
<id>alimaven</id>
<name>aliyun maven</name>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
<mirrorOf>central</mirrorOf>
</mirror>
</mirrors>
3.window - preferences - MyEclipse - Maven4MyEclipse - User Sertings 配置 settings.xml 路径
4.maven普通项目转为Web项目 preferences - MyEclipse - Project Facets-勾选Dynamic Web Module