maven setting 配置

<?xml version="1.0" encoding="UTF-8"?>spring

<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"apache

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"maven

xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">this

<localRepository>d:\repository</localRepository>google

<pluginGroups>url

</pluginGroups>spa

<proxies>.net

</proxies>code

<servers>server

<server>

<id>releases</id>

<username>deployment</username>

<password>123456</password>

<filePermissions>664</filePermissions>

<directoryPermissions>775</directoryPermissions>

<configuration></configuration>

</server>

<server>

<id>snapshots</id>

<username>deployment</username>

<password>123456</password>

<filePermissions>664</filePermissions>

<directoryPermissions>775</directoryPermissions>

<configuration></configuration>

</server>

</servers>

<mirrors>

<mirror>

<id>public</id>

<mirrorOf>public</mirrorOf>

<url>http://172.19.1.69:8081/nexus/content/groups/public</url>

</mirror>

<mirror>

<id>google</id>

<mirrorOf>google</mirrorOf>

<url>http://172.19.1.69:8081/nexus/content/repositories/google</url>

</mirror>

<mirror>

<id>codehaus-snapshots</id>

<mirrorOf>codehaus-snapshots</mirrorOf>

<url>http://172.19.1.69:8081/nexus/content/repositories/codehaus-snapshots</url>

</mirror>

<mirror>

<id>codehaus-snapshots</id>

<mirrorOf>codehaus-snapshots</mirrorOf>

<url>http://172.19.1.69:8081/nexus/content/repositories/codehaus-snapshots</url>

</mirror>

<mirror>

<id>apache-snapshots</id>

<mirrorOf>apache-snapshots</mirrorOf>

<url>http://172.19.1.69:8081/nexus/content/repositories/apache-snapshots</url>

</mirror>

<mirror>

<id>mirrorId</id>

<mirrorOf>repositoryId</mirrorOf>

<name>Human Readable Name for this Mirror.</name>

<url>http://my.repository.com/repo/path</url>

</mirror>

<mirror>

<id>spring</id>

<mirrorOf>spring-repository</mirrorOf>

<name>spring-repository</name>

<url>http://repo.springsource.org/release</url>

</mirror>

<mirror>

<id>nexus-osc</id>

<mirrorOf>*</mirrorOf>

<name>Nexus osc</name>

<url>http://maven.oschina.net/content/groups/public/</url>

</mirror>

</mirrors>

<profiles>

<profile>

<id>development</id>

<repositories>

<repository>

<id>public</id>

<url>http://172.19.1.69:8081/nexus/content/groups/public</url>

<releases>

<enabled>true</enabled>

</releases>

<snapshots>

<enabled>true</enabled>

</snapshots>

</repository>

</repositories>

</profile>

<!-- 

<profile>

<id>jdk-1.4</id>

<activation>

<jdk>1.4<</jdk>

</activation>

<repositories>

<repository>

<id>nexus</id>

<name>local private nexus</name>

<url>http://maven.oschina.net/content/groups/public/</url>

<releases>

<enabled>true</enabled>

</releases>

<snapshots>

<enabled>false</enabled>

</snapshots>

</repository>

</repositories>

<pluginRepositories>

<pluginRepository>

<id>nexus</id>

<name>local private nexus</name>

<url>http://maven.oschina.net/content/groups/public/</url>

<releases>

<enabled>true</enabled>

</releases>

<snapshots>

<enabled>false</enabled>

</snapshots>

</pluginRepository>

</pluginRepositories>

</profile>

-->

</profiles>

<activeProfiles>

<activeProfile>development</activeProfile>

</activeProfiles>

</settings>

相關文章
相關標籤/搜索