How can I get Eclipse work with Maven and SVN correctly?

Install Subclipse see here: http://subclipse.tigris.org/servlets/ProjectProcess?pageID=p4wYuA

Then install, m2eclipse and m2eclipse extras as mentioned here: http://m2eclipse.sonatype.org/installing-m2eclipse.html

After, these are done.

  1. Open Eclipse go to Window > Open Perspective > Other... > SVN Repository Exploring
  2. Add URL to SVN repository/code base.
  3. Select a project. Right Click and select Checkout as Maven Project. You're done.

Now, update, commit, delete, build all from inside Eclipse.


Install m2e and subclipse from the Eclipse Marketplace depending on what version of Eclipse you have. Then:

  1. Open Eclipse go to Window > Open Perspective > Other... > SVN Repository Exploring.
  2. Add your svn url to SVN repository/code base.
  3. Select a project. Right Click and select Checkout.
  4. Assuming your project has a pom.xml, switch back to your Java perspective, select the project that was just imported, right click and select Configure > Convert to Maven Project.