Skip to content

Instantly share code, notes, and snippets.

@qsLI
Forked from dongfg/settings.xml
Last active November 30, 2017 12:18
Show Gist options
  • Save qsLI/47a98f1cbde1179f1fc6227734e4e2e8 to your computer and use it in GitHub Desktop.
Save qsLI/47a98f1cbde1179f1fc6227734e4e2e8 to your computer and use it in GitHub Desktop.
<?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>/opt/devtools/maven/repo</localRepository>
<mirrors>
<mirror>
<id>maven-aliyun-mirror</id>
<name>maven-aliyun-mirror</name>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
<mirrorOf>*</mirrorOf>
</mirror>
</mirrors>
<profiles>
<profile>
<id>maven-aliyun</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<repositories>
<repository>
<id>aliyun</id>
<name>Nexus Repository</name>
<url>http://maven.aliyun.com/nexus/content/groups/public/</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