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.
- Open Eclipse go to
Window > Open Perspective > Other... > SVN Repository Exploring
- Add URL to SVN repository/code base.
- 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:
- Open Eclipse go to
Window > Open Perspective > Other... > SVN Repository Exploring
. - Add your svn url to SVN repository/code base.
- Select a project. Right Click and select
Checkout
. - 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
.