Importing Maven project into Eclipse

I want to import existing Maven project into Eclipse. I found 2 ways to do it:

  1. Through running from command line mvn eclipse:eclipse
  2. To install Maven Eclipse plugin from Eclipse.

What is the difference between the both and which one is preferable?

If I install Maven Eclipse plugin through the Eclipse menu Help -> Install New Software, do I still need to modify my pom.xml to include the Maven Eclipse plugin in the plugins section?

8 Answers
8

Leave a Comment