<?xml version="1.0" encoding="UTF-8"?>
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
<localRepository>C:\Users\jshi29\tools\eclipse\maven-3.6.0\repository</localRepository>
<pluginGroups>
</pluginGroups>
<proxies>
</proxies>
<servers>
<server>
<id>rdc-releases</id>
<username>uohDLE</username>
<password>atOYk00IYx</password>
</server>
<server>
<id>rdc-snapshots</id>
<username>uohDLE</username>
<password>atOYk00IYx</password>
</server>
</servers>
<mirrors>
</mirrors>
<profiles>
</profiles>
</settings>
1、将上面的内容复制到本地工程目录,新建一个settings.xml文件;
2、然后在Eclipse-- Windos--Preference -- Maven -- User Settings目录User Settings 点击选择刚刚新建的settings.xml文件,接着Update Settings,eclipse会去下载maven新的包;
3、下载完后选择工程,右击选择maven -- Update Project即可。