<profile>
<id>nexusProfile</id>
<repositories>
<repository>
<id>nexus</id>
<name>private nexus</name>
<url>http://10.12.6.50:8081/nexus/content/groups/public</url>
<!--下载release版本的jar包,默认是开启的-->
<releases><enabled>true</enabled></releases>
<!--下载snapshots版本的jar包,默认是关闭的-->
<snapshots><enabled>true</enabled></snapshots>
</repository>
</repositories>
</profile>
<!--激活私有工厂的配置-->
<activeProfiles>
<activeProfile>nexusProfile</activeProfile>
</activeProfiles>