Created a maven project in Eclipse, moved directory location, how to open it now?
I created a maven2 project in eclipse, and then I moved the folder to another location.
How can I open that project now in eclipse, I can't seem to find a 'open an exisiting maven' project or the like?
Opening the file pom.xml just opens the file, 开发者_运维百科kinda stuck sorry.
If you are using the M2Eclipse plugin for Eclipse, you can right-click in the Package Explorer view and then Import... > Maven > Existing Maven projects:
If you are using the maven-eclipse-plugin, then simply import it as an Import... General > Existing Projects into workspace.
Try File->Import->General->Existing Project into Workspace.
精彩评论