Last active
January 22, 2021 03:06
-
-
Save jk2K/aa5f4d16b5d5e7b029c455b68c4f7b8a to your computer and use it in GitHub Desktop.
linux/macOS `~/.m2/settings.xml`,中国 maven 镜像
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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 https://maven.apache.org/xsd/settings-1.0.0.xsd"> | |
<mirrors> | |
<mirror> | |
<id>aliyunmaven</id> | |
<mirrorOf>*,!jeecg,!jeecg-snapshots,!getui-nexus</mirrorOf> | |
<name>阿里云公共仓库</name> | |
<url>https://maven.aliyun.com/repository/public</url> | |
</mirror> | |
</mirrors> | |
<profiles> | |
<profile> | |
<repositories> | |
<repository> | |
<id>spring</id> | |
<url>https://maven.aliyun.com/repository/spring</url> | |
<releases> | |
<enabled>true</enabled> | |
</releases> | |
<snapshots> | |
<enabled>true</enabled> | |
</snapshots> | |
</repository> | |
</repositories> | |
</profile> | |
</profiles> | |
</settings> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment