Import an existing maven project into Eclipse

I have an existing Maven project with me. I use Eclipse Helios as my IDE, I need to import an existing maven project into my IDE.

Please tell me what is the right approach to import an existing maven application? (If we choose the option "Import an existing maven project" or Should we choose the import "Export projects to the workspace"

Please let me know, thank you very much.

+7
source share
3 answers

Use Import-> Maven-> Existing Maven Projects

I assume that m2eclipse plugin is installed in your Eclipse.

enter image description here

+11
source

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

Then you can choose "create from an existing source" in the "Create a new project" section

0
source

Turn on the m2e plugin in eclipse Windows -> Install new software enter this site to download the m2e plugin http://download.eclipse.org/technology/m2e/releases

0
source

All Articles