复制安装目录set.xml 到~/.m2/seting.xml打开eclipse window——>preferences——>Maven——>installtions——>add 选择配置好的Maven安装目录。