Intellij Idea 导入多个maven项目,通过父工程引入子工程

1、选择file-new-Module from Existing Sources...


 

2、选中项目的根目录,点击OK

 



 3、默认选择Ceate module from existing sources,但是我们要选择Import module from external model,然后选择Maven,点击next,

 



4、勾选Search for projects recursively(递归搜索项目),点击next

 


5、点击next,


5、点击finish

 



 

 6、然后右侧就会增加显示新导入的maven项目了。



原文:https://blog.csdn.net/weixin_37909363/article/details/80915509

原文地址:https://www.cnblogs.com/Amos-Turing/p/10873765.html