1. 程式人生 > >eclipse_maven換源

eclipse_maven換源

成了 clip encoding ont -s 換源 pac code ati

1. 手動新增一個xml文件:

<?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">
    <mirrors>
        <
mirror> <id>nexus</id> <name>Tedu Maven</name> <mirrorOf>*</mirrorOf> <url>http://maven.aliyun.com/nexus/content/groups/public</url> </mirror> </mirrors> </settings>

2.打開window-->preferences-->maven-->user settings

技術分享圖片

完成了~

eclipse_maven換源