码迷,mamicode.com
首页 > 其他好文 > 详细

idea新建maven项目

时间:2020-01-21 21:56:35      阅读:100      评论:0      收藏:0      [点我收藏+]

标签:导入   自动   dea   style   mic   image   ref   finish   http   

盘符下新建一个目录;

打开idea -> open目录;

右击目录 -> new -> module;

技术图片

maven -> next;

技术图片

 填包名和项目名 -> next -> finish;

技术图片

 设置maven自动导入;

技术图片

 pom里添加要导入的jar包并保存 -> 测试;

 

备注:

  1、scope为test的main目录下引入不了;

  2、maven仓库https://mvnrepository.com/

idea新建maven项目

标签:导入   自动   dea   style   mic   image   ref   finish   http   

原文地址:https://www.cnblogs.com/linding/p/12225782.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!