On Sat, Mar 15, 2008 at 1:10 AM, Eugene Kuleshov <[EMAIL PROTECTED]> wrote: > Stefano "Kismet" Lenzi wrote: > >> At the bare minimum we will be using Maven SCM provider in our project > >> materialization code. I have half-working prototype but it will require > >> some fixes in the maven SCM code that I haven't got time to work on. > >> > >> If anyone interested in digging into that, please contact me. > >> > > I rise my hand :) > > I have been started to look around for the creation of such feature from > scratch > > > Thanks Stefano. I will commit my prototype to SVN on the weekend. > > In a mean time you can take a look at the > org.maven.ide.eclipse.scmHandlers extension point and implementations of > the org.maven.ide.eclipse.scm.ScmHandler abstarct class. Also see > MavenCheckoutOperation that is using registered SCM handlers.
I have already browse around those classes ;) > > There is also a missing wizard that would need to accept Maven SCM > urls. Why do the user have will have to type in the SCM URL? I think that it would be more usable if the SCM is generated by inspecting the POM of the Maven project selected by groupId:artifactId:version:type. An SCM URL could be useful for non-maven project (but it is a different story I think) What do you think about it? It would be similar to the current Subclipse wizard, but simpler, > because we can't provide advanced UI, such as browsing repositories and > commit history using present Maven SCM API. I am actually planning to > consolidate multiple existing import Maven project wizards into one, so > the SCM import will be part of it, but we'll need some extension points > to allow to plug in advanced UI like I've implemented for Subclipse. I worrying that adding too many option and different behavior to a single Import Wizard will be make it harder to learn and use. I > hope to came to that in a next few weeks. > > Those who are interested in Subversive integration may as well > subclass ScmHandler, implement checkoutProject() method and provide > above extension point. > > > > regards, > Eugene > > > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
