settings.xml
1 <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" 2 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 3 xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 4 http://maven.apache.org/xsd/settings-1.0.0.xsd"> 5 <localRepository/> 6 <interactiveMode/> 7 <usePluginRegistry/> 8 <offline/> 9 <pluginGroups/> 10 <servers/> 11 <mirrors> 12 <mirror> 13 <id>aliyunmaven</id> 14 <mirrorOf>central</mirrorOf> 15 <name>阿里云公共仓库</name> 16 <url>https://maven.aliyun.com/repository/central</url> 17 </mirror> 18 <mirror> 19 <id>repo1</id> 20 <mirrorOf>central</mirrorOf> 21 <name>central repo</name> 22 <url>http://repo1.maven.org/maven2/</url> 23 </mirror> 24 <mirror> 25 <id>aliyunmaven</id> 26 <mirrorOf>apache snapshots</mirrorOf> 27 <name>阿里云阿帕奇仓库</name> 28 <url>https://maven.aliyun.com/repository/apache-snapshots</url> 29 </mirror> 30 </mirrors> 31 <proxies/> 32 <activeProfiles/> 33 <profiles> 34 <profile> 35 <repositories> 36 <repository> 37 <id>aliyunmaven</id> 38 <name>aliyunmaven</name> 39 <url>https://maven.aliyun.com/repository/public</url> 40 <layout>default</layout> 41 <releases> 42 <enabled>true</enabled> 43 </releases> 44 <snapshots> 45 <enabled>true</enabled> 46 </snapshots> 47 </repository> 48 <repository> 49 <id>MavenCentral</id> 50 <url>http://repo1.maven.org/maven2/</url> 51 </repository> 52 <repository> 53 <id>aliyunmavenApache</id> 54 <url>https://maven.aliyun.com/repository/apache-snapshots</url> 55 </repository> 56 </repositories> 57 </profile> 58 </profiles> 59 </settings>