<?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即可。
博客介绍了在本地工程目录新建settings.xml文件,在Eclipse的Maven用户设置中选择该文件并更新设置,让eclipse下载maven新包,下载完成后在工程中通过右击选择maven更新项目的操作步骤。

被折叠的 条评论
为什么被折叠?



