setting.xml

<settings>
<localRepository>D:/d/java/repository</localRepository>
<servers>
<server>
        <id>im20.snapshots.http</id>
        <username>deployment</username>
        <password>deployment123</password>
    </server>
    <server>
        <id>im20.releases.http</id>
        <username>deployment</username>
        <password>deployment123</password>
    </server>
</servers>

<mirrors>

<mirror>
<id>snapshots</id>
<mirrorOf>public-snapshots</mirrorOf>
<url>http://scm.im20.com.cn/nexus/content/groups/public-snapshots</url>
</mirror>
<mirror>
<id>development</id>
<mirrorOf>central</mirrorOf>
<url>http://scm.im20.com.cn/nexus/content/groups/public</url>
</mirror>

<!--
<mirror>
      <id>nexus</id>
      <mirrorOf>*</mirrorOf>
      <url>http://reform.mop.com/m2/content/groups/public</url>
    </mirror>
-->
</mirrors>


<profiles>
<profile>
<id>development</id>
<repositories>
<repository>
<id>central</id>
<url>http://central</url>
<releases><enabled>true</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>central</id>
<url>http://central</url>
<releases><enabled>true</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</pluginRepository>
</pluginRepositories>
</profile>
<profile>
<!--this profile will allow snapshots to be searched when activated-->
<id>snapshots</id>
<repositories>
<repository>
<id>public-snapshots</id>
<url>http://public-snapshots</url>
<releases><enabled>false</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>public-snapshots</id>
<url>http://public-snapshots</url>
<releases><enabled>false</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</pluginRepository>
</pluginRepositories>
</profile>
</profiles>
<activeProfiles>
<activeProfile>development</activeProfile>
<activeProfile>snapshots</activeProfile>
</activeProfiles>



</settings>

你可能感兴趣的:(xml)