idea中maven的setting.xml的配置
2019獨角獸企業重金招聘Python工程師標準>>>
<?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>D://apache-maven-3.6.0-bin//localRestory</localRepository> ??
? ?<mirrors>
? ? ? ? <!-- 阿里云倉庫 -->
? ? ? ? <mirror>
? ? ? ? ? ? <id>alimaven</id>
? ? ? ? ? ? <mirrorOf>central</mirrorOf>
? ? ? ? ? ? <name>aliyun maven</name>
? ? ? ? ? ? <url>http://maven.aliyun.com/nexus/content/repositories/central/</url>
? ? ? ? </mirror>
? ??
? ? ? ? <!-- 中央倉庫1 -->
? ? ? ? <mirror>
? ? ? ? ? ? <id>repo1</id>
? ? ? ? ? ? <mirrorOf>central</mirrorOf>
? ? ? ? ? ? <name>Human Readable Name for this Mirror.</name>
? ? ? ? ? ? <url>http://repo1.maven.org/maven2/</url>
? ? ? ? </mirror>
? ??
? ? ? ? <!-- 中央倉庫2 -->
? ? ? ? <mirror>
? ? ? ? ? ? <id>repo2</id>
? ? ? ? ? ? <mirrorOf>central</mirrorOf>
? ? ? ? ? ? <name>Human Readable Name for this Mirror.</name>
? ? ? ? ? ? <url>http://repo2.maven.org/maven2/</url>
? ? ? ? </mirror>
? ? </mirrors>?
</settings>
轉載于:https://my.oschina.net/u/3688108/blog/3014114
總結
以上是生活随笔為你收集整理的idea中maven的setting.xml的配置的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: ubuntu安装php5-mysql_U
- 下一篇: 电脑下载的M4A格式文件怎么转换为MP3