IDEA配置maven教程
maven下载地址
http://maven.apache.org/download.cgi
解压后如
G:\apache-maven-3.8.4-bin\apache-maven-3.8.4
配置环境变量
MAVEN_HOME G:\apache-maven-3.8.4-bin\apache-maven-3.8.4
Path %MAVEN_HOME%\bin
测试
IDEA配置maven
配置本地maven仓库
修改依赖下载地址
maven-default-http-blocker
external:http:*
Pseudo repository to mirror external repositories initially using HTTP.
http://0.0.0.0/
true
alimaven
aliyun maven
http://maven.aliyun.com/nexus/content/groups/public/
central
ui
central
Human Readable Name for this Mirror.
http://uk.maven.org/maven2/
jboss-public-repository-group
central
JBoss Public Repository Group
http://repository.jboss.org/nexus/content/groups/public
repo2
central
Human Readable Name for this Mirror.
http://repo2.maven.org/maven2/
OSChina
OSChina Central
http://maven.oschina.net/content/groups/public/
central
nexus-osc-thirdparty
thirdparty
Nexus osc thirdparty
http://maven.oschina.net/content/repositories/thirdparty/
修改IDEA的maven配置
配置完成后新建项目会出现maven