Maven Settings.xml 配置文件
<settings xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"> <!-- 配置本地仓库地址 --> <localRepository>E:\maven\repository</localRepository> <!-- 配置下载Jar包的镜像仓库地址 --> <mirrors> <mirror> <id>alimaven</id> <name>aliyun maven</name> <url>http://maven.aliyun.com/nexus/content/groups/public/</url> <mirrorOf>central</mirrorOf> </mirror> <mirror> <id>uk</id> <name>Human Readable Name for this Mirror.</name> <url>http://uk.maven.org/maven2/</url> <mirrorOf>central</mirrorOf> </mirror> <mirror> <id>nexus</id> <name>internal nexus repository</name> <url>http://repo.maven.apache.org/maven2</url> <mirrorOf>central</mirrorOf> </mirror> </mirrors> <profiles> <!-- 下载源代码和Javadoc --> <profile> <id>downloadSources</id> <properties> <downloadSources>true</downloadSources> <downloadJavadocs>true</downloadJavadocs> </properties> </profile> </profiles> <!-- 激活在profiles的配置项 --> <activeProfiles> <activeProfile>downloadSources</activeProfile> </activeProfiles> </settings>
posted on 2020-04-10 16:01 atomgame的记事本 阅读(709) 评论(0) 编辑 收藏 举报