标签:maven
.png)
<servers>
<server>
<id>release</id>
<username>releaseAdmin</username>
<password>123456</password>
</server>
<server>
<id>snapshots</id>
<username>snapshotsAdmin</username>
<password>123456</password>
</server>
</servers>
<mirrors>
<mirror>
<id>jymirror</id>
<mirrorOf>central</mirrorOf>
<name>jiangye mirror</name>
<url>http://mvnrepo.jiang.ye.com/mvn/repository</url>
</mirror>
<mirror>
<id>jymirror-snapshots</id>
<mirrorOf>snapshots</mirrorOf>
<name>jiangye mirror snapshots</name>
<url>http://mvnrepo.jiang.ye.com/mvn/repository</url>
</mirror>
</mirrors>
<profiles>
<profile>
<id>nexus</id>
<repositories>
<repository>
<id>central</id>
<url>http://mvnrepo.jiang.ye.com/mvn/repository</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>snapshots</id>
<url>http://mvnrepo.jiang.ye.com/mvn/repository</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>central</id>
<url>http://mvnrepo.jiang.ye.com/mvn/repository</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
<pluginRepository>
<id>snapshots</id>
<url>http://mvnrepo.jiangye.ye.com/mvn/repository</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
</profile>
</profiles>
<activeProfiles>
<activeProfile>nexus</activeProfile>
</activeProfiles>标签:maven
原文地址:http://blog.csdn.net/troy__/article/details/39433203