`

maven setting

阅读更多

 

<?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">

<pluginGroups>
</pluginGroups>

<proxies>
</proxies>

<servers>
<server>
<id>nexus-releases</id>
<username>admin</username>
<password>admin123</password>
</server>
</servers>


<mirrors>
 
<mirror> 
<id>nexus</id> 
<mirrorOf>*</mirrorOf> 
<url>http://192.168.1.13:8080/nexus/content/groups/public</url>
</mirror>
<!--
<mirror> 
<id>alibabatech</id> 
<mirrorOf>*</mirrorOf> 
<url>http://code.alibabatech.com/mvn/releases/</url>
</mirror>
-->
</mirrors>

<profiles> 
  <profile> 
<id>nexus</id> 
<repositories> 
  <repository> 
  <id>nexus</id> 
  <name>local private nexus</name> 
  <url>http://192.168.1.13:8080/nexus/content/groups/public</url> 
  </repository> 
</repositories> 
  </profile> 
  <profile> 
<id>nexus-snapshots</id> 
<repositories> 
  <repository> 
  <id>nexus-snapshots</id> 
  <name>local private nexus snapshots</name> 
  <url>http://192.168.1.13:8080/nexus/content/groups/public</url> 
  <releases>
<enabled>true</enabled>
  </releases>
  </repository> 
</repositories> 
  </profile> 
</profiles> 

<activeProfiles> 
<activeProfile>nexus</activeProfile> 
<activeProfile>nexus-snapshots</activeProfile> 
</activeProfiles> 
</settings>
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics