Maven本地setting.xml配置代理
一、文件setting.xml二、详细配置
·
目录
一、文件setting.xml
二、代理下载<proxies> <proxy> <id>192.168.xx.xxx</id> <active>true</active> <protocol>http</protocol> <!--<username>proxyuser</username>--> <!--<password>proxypass</password>--> <host>192.168.xx.xxx</host> <port>18888</port> <!--<nonProxyHosts>local.net|some.host.com</nonProxyHosts>--> </proxy> </proxies>
三、联网阿里云下载
<mirrors> <mirror> <id>mirrorId</id> <mirrorOf>repositoryId</mirrorOf> <name>Human Readable Name for this Mirror.</name> <url>http://my.repository.com/repo/path</url> </mirror> --> <mirror> <id>alimaven</id> <name>aliyun maven</name> <url>http://maven.aliyun.com/nexus/content/groups/public/</url> <mirrorOf>central</mirrorOf> </mirror> </mirrors>有用请点赞,养成良好习惯!
疑问、交流、鼓励请留言!
魔乐社区(Modelers.cn) 是一个中立、公益的人工智能社区,提供人工智能工具、模型、数据的托管、展示与应用协同服务,为人工智能开发及爱好者搭建开放的学习交流平台。社区通过理事会方式运作,由全产业链共同建设、共同运营、共同享有,推动国产AI生态繁荣发展。
更多推荐



所有评论(0)