Greetings,

I got a cvs authentification problem with the following items :

Used elements :

cvsnt
maven 3
scm 1.6
Windows 2003 Server

Procedure follows (No .cvspass in my USER_DIR) :

.

   1. I run a mvn --encrypt password password and copy paste the result in
   my <scm><connection> tags.
   2. I run scm:status -> Authentification fails, .cvspass is created with
   a wrong password.
   3. I login to cvs with my cvsnt client and retrieve the password from
   the registry.
   4. I copy paste the password from the registry into the csvpass, in
   place of the one generated by the Maven plugin.
   5. I run scm:status -> Authentification succeeds. .cvspass still
   contains the password (of course, since a mvn -X shows me that file
   creation was skipped)
   6. I change the user/password in the <scm> tag, putting invalid ones : I
   run scm:status -> Authentification succeeds. .cvspass still contains the
   password : my credentials were ignored since contained in cvspass.



My questions :

Why is maven unable to generate a proper cvs encrypted password and store
it in the .cvspass ? What did I miss ?

I suppose the credentials contained in the pom only serve as fallback if no
.cvspass exist (given that the Source control used is CVS). Is it correct ?

Thank you for your help !

Reply via email to