前端之家收集整理的这篇文章主要介绍了
settings.xml模板,
前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
<settings>
<localRepository>D:/.m2/repository</localRepository>
<pluginGroups>
</pluginGroups>
<proxies>
</proxies>
<servers>
<server>
<id>snapshots</id>
<username>snapshotsAdmin</username>
<password>123456</password>
</server>
</servers>
<mirrors>
<mirror>
<id>tbmirror</id>
<mirrorOf>central</mirrorOf>
<name>alibaba mirror</name>
<url>http://mvnrepo.xxxxxx.com/mvn/repository</url>
</mirror>
<mirror>
<id>tbmirror-snapshots</id>
<mirrorOf>snapshots</mirrorOf>
<name>alibaba mirror snapshots</name>
<url>http://mvnrepo.xxxxxx.com/mvn/repository</url>
</mirror>
</mirrors>
<profiles>
<profile>
<id>nexus</id>
<repositories>
<repository>
<id>central</id>
<url>http://mvnrepo.xxxxxx.com/mvn/repository</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>snapshots</id>
<url>http://mvnrepo.xxxxxx.com/mvn/repository</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>central</id>
<url>http://mvnrepo.taobao.ali.com/mvn/repository</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
<pluginRepository>
<id>snapshots</id>
<url>http://mvnrepo.xxxxxx.com/mvn/repository</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
</profile>
</profiles>
<activeProfiles>
<activeProfile>nexus</activeProfile>
</activeProfiles>
</settings>
原文链接:https://www.f2er.com/xml/296198.html