I'm still trying to debug my connection problem. Maybe it doesnt have anything to do with the CVS branch ...
I tried to use the SCM plugin directly to see if a more direct path to the error could give me an idea. I get the following : ** scm:validate [INFO] [scm:validate] [INFO] connectionUrl scm connection string is valid. [INFO] project.scm.connection scm connection string is valid. [INFO] project.scm.developerConnection scm connection string is valid. ** scm:diff [INFO] Cannot run diff command : Embedded error: Can't load the scm provider. The scm url is invalid. Is there a way to have a more descriptive message ? I tried "mvn -e" but it doesnt tell me much. Is there a place where I could find some more documentation ? Thanks for your help ! On 10/01/2008, Guillaume Lederrey <[EMAIL PROTECTED]> wrote: > Hello ! > > I have a really dumb question, but i cant seem to find the answer. I'm > more used to SVN and I am a bit lost with branches in CVS ... > > How do you configure <scm> in a pom so that it points to a CVS branch > ? I thought I should use <tag>, but it doesnt seem to work : > > <connection> > scm:cvs:pserver:@server:/path/to/repo:Module > </connection> > <tag>BRANCH_NAME</tag> > > But when trying a release:prepare, I get > > [INFO] Cannot add release POM to SCM: Exception while executing SCM command. > password is required. You must run a 'cvs -d > :pserver:@server:2401/path/to/repo login' first or provide it in the > connection url. > > Of course, I tried running that command, but no success. Passing > "-Dusername=..." and "-Dpassword=..." doesnt help either. > > "mvn -e release:prepare" doesnt give more information. I have another > project with almost the same kind of SCM config, but no branch. That > project works fine. > > If I use "mvn scm:validate", it tells me that my config is correct. > > Am I missing anything else ? Is there a way to get more logging infos > (except -e) ? > > Thanks for your help ! > > -- > Jabber : [EMAIL PROTECTED] > Skype : Guillaume.Lederrey > Projects : > * http://rwanda.wordpress.com/ > * http://rwandatech.wordpress.com/ > -- Jabber : [EMAIL PROTECTED] Skype : Guillaume.Lederrey Projects : * http://rwanda.wordpress.com/ * http://rwandatech.wordpress.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
