- 介绍
本文介绍Maven配置的相关内容。
Maven的用户配置文件路径为:~/.m2/settings.xml
Maven库地址的配置如下:
[codesyntax lang="xml"]
<mirror> <id>suren</id> <name>suren Mirror</name> <url>http://http://repo1.maven.org/maven2/</url> <mirrorOf>central</mirrorOf> </mirror>
[/codesyntax]
常用的公共Maven库地址如下:http://repo1.maven.org/maven2/
http://repository.jboss.com/maven2/ http://repository.sonatype.org/content/groups/public/
http://mirrors.ibiblio.org/pub/mirrors/maven2/org/acegisecurity/