<?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"> <!-- localRepository | The path to the local repository maven will use to store artifacts. | | Default: ~/.m2/repository --> <localRepository>E:/JavaSoft/Repository</localRepository> <pluginGroups> <!-- pluginGroup | Specifies a further group identifier to use for plugin lookup. <pluginGroup>com.your.plugins</pluginGroup> --> <pluginGroup>org.mortbay.jetty</pluginGroup> </pluginGroups> <proxies> </proxies> <servers> <server> <id>thirdparty</id> <username>xxx</username> <password>aaaaaa</password> </server> <server> <id>central</id> <username>xxx</username> <password>aaaaaa</password> </server> <server> <id>releases</id> <username>xxx</username> <password>aaaaaa</password> </server> <server> <id>snapshots</id> <username>xxx</username> <password>aaaaaa</password> </server> <server> <id>EBR1</id> <username>xxx</username> <password>aaaaaa</password> </server> <server> <id>EBR2</id> <username>xxx</username> <password>aaaaaa</password> </server> </servers> <mirrors> </mirrors> <profiles> <profile> <id>env-dev</id> <repositories> <repository> <id>nexus</id> <url>http://mvn.mycom.com:8080/nexus/content/groups/public/</url> <releases><enabled>true</enabled></releases> <snapshots><enabled>true</enabled></snapshots> </repository> </repositories> <pluginRepositories> <pluginRepository> <id>nexus</id> <url>http://mvn.mycom.com:8080/nexus/content/groups/public/</url> <releases><enabled>true</enabled></releases> <snapshots><enabled>false</enabled></snapshots> </pluginRepository> </pluginRepositories> </profile> </profiles> <activeProfiles> <activeProfile>env-dev</activeProfile> </activeProfiles> </settings>
maven settings.xml
猜你喜欢
转载自philipho123.iteye.com/blog/792913
今日推荐
周排行