Eclipse Indigo - Maven and SVN
With the latest release from Eclipse - Indigo - now Maven is well supported. So it is no longer an ordeal to install maven support and especially svn integration.
To add the Maven with SVN into Indigo it is sufficient to got to "help -> install new software"
There you can select the Indigo plugin repository 'Indigo - http://download.eclipse.org/releases/indigo'
Go to the section 'Collaboration' and select the features "m2e - Maven Integration for Eclispe".
Now you have maven support provided by the sonatype plugin "m2Eclipse"
If you need also Subversion support you should add the Subclipse
Plugin. (this works in most cases better than the Subversive SVN Team
Provider). To add sublicpse to Ecipse Indigo you need to add the following plugin site:
From this update site you can choose all Sublicpse Plugins to bee installed.
Checking out a Maven Project from a SVN repository
To check out an existing Maven project from an subversion repository you need the additional scm connector. To get this connector installed simply create at first a new project from the 'New Project wizard' - (menue 'File -> new project')
Select the project type : "Maven -> Checkout Maven Projects from SCM":
Now you will see the dialog box to select your Target location:
The first time you can not choose a valid SCM URL type. You need first to install a SCM Connector for Maven and SVN. Click on the LInk 'm2e Marketplace'
You will see the m2e Marketplace where you can now select the "m2e-sublicpse" or the "m2e-subversive" connector (this depends on the subversion plugin you installed before - as noted here I recommend sublipse instead of subversion! - do not pay attention to the next screen shot!):
Note: If you are using a different SCM system you have to select the corresponding connector type
After the Installation finished you can select the SCM URL Type and enter your repository URL:
Alternatively you can also checkout a project from the SCM view with the option "checkout as maven project"
Posted at 10:37AM Aug 15, 2011
Posted by: Ralph
Maven & SVN Plugins for Eclipse Galileo
Today I installed the Maven M2 and Subversive Plugins in my Eclipse Galileo Installation.
This is a little bit tricky because the M2 Plugin needs some additional Plugins if the Plugin should work together with the Subversion Plugin Subversive.
These are the steps I go through the Eclipse Update Manager to get all things work:
First I added the Suversive SVN Team Provider provided from the Galileo Download Site. This Site is available in the Eclipse "Install new Software" Dialog. Select the Option:
"Collaboration->Suversive SVN Team Provider"
After restarting Eclipse the SVN Plugin will ask for a Subversive Connector. This is a new cool feature so you did not add an Updite URL for these plugins manually. I selected only the option SVN Kit 1.3.0:
...the wizard will select two additional plugins to be installed next...
In the next step I added an additional Plugin which is needed to get a better Maven/SVN Integration.
Therefore I added in the Eclipse Install Dialog the following new Update site:
From This site I selected only(!) the Plugin
"Subversive SVN Team Provider (Incubation)"
After Restarting Eclipse I add now the "SVN Maven Support" provided by the following Update Site:
This is an additional Plugin needed to get better SVN Support. I select the "Subversive Integration for the M2Eclipse Project" Plugin:
Now finally its time to add the Maven Integration Plugin itself form the Update Site:
You should not(!) select the Maven SCM Integration if you followed my recommanded installation steps.
So I select the MavenEmbeder, Pom Editor and Maven Central Repository:
After restarting Eclipse Galileo once more you can now Checkout a Maven Project from any SVN Repository with the option "Check out as maven Project..." and use the M2 Integration Plugin Features like the POM Editor.
If anybody knows an easier way to get Maven and SVN Integration for Eclipse Galileo installed please let me know...