下载Maven
- Maven介绍:Maven是基于项目对象模型(POM project object model),可以通过一小段描述信息(配置)来管理项目的构建,报告和文档的软件项目管理工具【百度百科】
通俗讲:在pom.xml文件中配置项目开发所需要的jar包,而不用手动去下载添加jar包 - 下载Maven
□下载Maven
■https://maven.apache.org/download.cgi# - 阿里云Maven镜像配置
介绍阿里云Maven仓库,地址:https://maven.aliyun.com/mvn/view
阿里云镜像配置文件,setting.xml
localRepoistory配置maven本地位置
Eclipse配置setting.xml,引入Maven
Eclipse中点击 Window->Preferences
在Preferences窗体中,选择Maven->User Settings,在右侧的Global Settings选择settings.xml文件位置
配置确认
在Eclipse中点击Windows->Show View->Other,输入Maven ,选择Maven Repositories,点击Open,打开Maven Repositories窗口
打开Global Repositories,查看配置成功