Importing an existing maven Project into Eclipse

回眸只為那壹抹淺笑 提交于 2019-12-12 08:39:39

问题


I have an existing Maven Project with me . I am using Eclipse Helios as my IDE , i need to import an existing maven Project into my IDE .

Please tell me what is the correct approach to import an exisiting maven Application ?? (Should we choose Import Existing maven Project option or Should we choose import Exisiting Projects into Workspace option ??

Please let me know , thank you very much .


回答1:


Use Import->Maven->Existing Maven Projects

I'm assuming, you've m2eclipse plugin installed in your Eclipse.




回答2:


Use mvn plugin "eclipse:eclipse" for setting up the parameters for eclipse http://maven.apache.org/plugins/maven-eclipse-plugin/ http://maven.apache.org/plugins/maven-eclipse-plugin/myeclipse-mojo.html

After which you can choose, "create from existing source" under "create new project"




回答3:


Include the m2e plugin into eclipse Windows >> Install new software enter this site to download the m2e plugin http://download.eclipse.org/technology/m2e/releases



来源:https://stackoverflow.com/questions/7711248/importing-an-existing-maven-project-into-eclipse

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!