介绍Eclipse集成Maven的方法
工具/原料
Eclipse
添加Maven
1、点击Window--Preferences,搜索maven,点击Installations


2、点击Add,添加maven,勾选添加的maven


3、在User Settings处选择maven的settings.xml文件

4、点击Apply,点击Apply and Close


构建Maven索引
1、点击Window--Show View--Other

2、搜索maven,双击Maven Repositories

3、右击Local Repository,选择Rebuild Index,选择OK即可

