<settings>
<!--<localRepository>D:/maven-2.2.1/.m2/repository</localRepository>-->
<proxies>
<proxy>
<id>normal</id>
<active>true</active>
<protocol>http</protocol>
<username>congmin.jin</username>
<password>123456</password>
<host>nexus.tech.xxx.com/</host>
<port>80</port>
<nonProxyHosts>nexus.tech.xxx.com</nonProxyHosts>
</proxy>
</proxies>
<mirrors>
<mirror>
<!--This is used to direct the public snapshots repo in the profile below
over to a different nexus group -->
<id>nexus-public-snapshots</id>
<mirrorOf>public-snapshots</mirrorOf>
<url>http://nexus.tech.xxx.com/content/groups/public-snapshots
</url>
</mirror>
<mirror>
<!--This sends everything else to /public -->
<id>nexus</id>
<mirrorOf>*</mirrorOf>
<url>http://nexus.tech.xxx.com/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>public-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>
</activeProfiles>
<servers>
<server>
<id>Releases</id>
<username>congmin.jin</username>
<password>123456</password>
</server>
<server>
<id>Snapshots</id>
<username>deployment</username>
<password>deploydv89</password>
</server>
<server>
<id>thirdparty</id>
<username>congmin.jin</username>
<password>123456</password>
</server>
<server>
<id>tomcat-66-16</id>
<username>admin</username>
<password>aa123123</password>
</server>
<server>
<id>tomcat-localhost</id>
<username>admin</username>
<password>aa123123</password>
</server>
</servers>
</settings>
分享到:
相关推荐
3. localRepository节点用于配置本地仓库,本地仓库其实起到了一个缓存的作用,它的默认地址是 C:\Users\用户名.m2。 当我们从maven中获取jar包的时候,maven首先会在本地仓库中查找,如果本地仓库有则返回;如果...
maven-tomee-plugin-0.9.10.m2.jar
maven-t7-plugin-0.9.8.m2.jar
maven-openengsb-plugin-1.1.0.m2.jar
maven-datanucleus-plugin-1.1.0.m2.jar
maven-datanucleus-plugin-1.0.0.m2.jar
maven-tomee-plugin-0.9.10.m2-sources.jar
maven-t7-plugin-0.9.10.m2-sources.jar
maven-t7-plugin-0.9.8.m2-sources.jar
maven-openengsb-plugin-1.1.0.m2-sources.jar
maven-richfaces-resources-plugin-4.3.0.20121024-m2-sources.jar
用于maven setting.xml文件丢失,eclipse集成maven插件.m2下无setting.xml文件需要配置的情况
maven-t7-plugin-0.9.8.m2a-sources.jar
maven-richfaces-resources-plugin-4.3.0.20121024-m2.jar
maven-t7-plugin-0.9.8.m2a.jar
maven本地仓库的默认位置:无论是Windows还是Linux,在用户的目录下都有一个.m2/repository/的仓库目录,这就是Maven仓库的默认位置,变更maven默认的本地仓库的位置可更改存在于maven的settings.xml文件中local...
maven-datanucleus-plugin-3.0.0-m2.jar
maven-datanucleus-plugin-2.0.0-m2.jar
1.创建M2_HOME环境变量,指向maven的安装目录。 2.并将%M2_HOME%\bin追加到PATH路径中。 3.调试是否安装成功,在cmd中输入 mvn -version 第四步,将本地仓库(jar包目录)配置到指定路径(*可以不进行配置,默认...
maven环境搭建.m2工具,maven环境搭建.m2工具maven环境搭建.m2工具maven环境搭建.m2工具maven环境搭建.m2工具