欢迎您的访问
专注架构,Java,数据结构算法,Python技术分享

IDEA配置maven教程

maven下载地址

http://maven.apache.org/download.cgi

 解压后如

1

G:\apache-maven-3.8.4-bin\apache-maven-3.8.4

 配置环境变量

1

2

3

MAVEN_HOME   G:\apache-maven-3.8.4-bin\apache-maven-3.8.4

Path   %MAVEN_HOME%\bin

 测试

 IDEA配置maven

配置本地maven仓库

 修改依赖下载地址

1

<mirrors> <br><!-- mirror | Specifies a repository mirror site to use instead of a given repository. <br>The repository that | this mirror serves has an ID that matches the mirrorOf element of this mirror. <br>IDs are used | for inheritance and direct lookup purposes, and must be unique across the set of mirrors.| <br><mirror> <br>  <id>mirrorId</id><br>  <mirrorOf>repositoryId</mirrorOf><br>   <name>Human Readable Name for thisMirror.</name><br>    <url>http:

 修改IDEA的maven配置

 配置完成后新建项目会出现maven

 

赞(0) 打赏
版权归原创作者所有,任何形式转载请联系作者;码农code之路 » IDEA配置maven教程

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏