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/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to