As I said previously, you need to logon manually to the cvs server with the
cvs executable.
The current maven plugin doesn't handle the logon part :-(
This is why your password isn't used.
You have to logon to the cvs server only the first time. It's automatically
stored in your local .cvspass file.
After that you don't have to logon.

Arnaud

(for CVSNT you need to unextract it somewhere and add it in your path.
that's all  - it's not really hard ;-) )


On 3/22/06, Jeff Mutonho <[EMAIL PROTECTED]> wrote:
>
> I'm moving the build environment to a linux machine(FC4).Didn't wanna
> be bothered with installing CVSNT.However I tried my
>
> <repository>
>         <connection>scm:cvs:pserver:[EMAIL PROTECTED]
> :/var/lib/cvsroot:portalproject</connection>
>    </repository>
>
> And the error message  on linux correctly tells me :
>
> scm:find-connection:
>     [echo] Using connection:
> scm:cvs:pserver:[EMAIL PROTECTED]:/var/lib/cvsroot:portalproject
>
> scm:checkout:
>     [echo] Checking out
> scm:cvs:pserver:[EMAIL PROTECTED]:/var/lib/cvsroot:portalproject
> Provider message:
> The cvs command failed.
> Command output:
> cvs checkout: authorization failed: server 165.X.Y.Z rejected access
> to /var/lib/cvsroot for user jeffm
> cvs checkout: used empty password; try "cvs login" with a real password
>
> BUILD FAILED
> File...... /home/mutonhj/.maven/cache/maven-scm-plugin-1.5/plugin.jelly
> Element... scm:checkout
> Line...... 110
> Column.... -1
> Error!
> Total time   : 8 seconds
> Finished at  : Wednesday, March 22, 2006 2:24:55 PM SAST
>
>
> , which makes sense , since I OMMITTED the password in the scm url.
>
> However , I changed the scm url to include my password as follows:
>
> <repository>
>         <connection>scm:cvs:pserver:jeffm:<mypassword>@
> 165.X.Y.Z:/var/lib/cvsroot:portalproject</connection>
>    </repository>
>
> And I get the error message :
>
> [echo] Using connection:
> scm:cvs:pserver:jeffm:<mypassword>@
> 165.X.Y.Z:/var/lib/cvsroot:portalproject
>
> scm:checkout:
>     [echo] Checking out
> scm:cvs:pserver:jeffm:<mypassword>@
> 165.X.Y.Z:/var/lib/cvsroot:portalproject
>
> BUILD FAILED
> File...... /home/mutonhj/.maven/cache/maven-scm-plugin-1.5/plugin.jelly
> Element... scm:checkout
> Line...... 110
> Column.... -1
> The scm url is invalid.
> Total time   : 8 seconds
> Finished at  : Wednesday, March 22, 2006 2:21:33 PM SAST
>
> What's wrong with my scm url?It looks "normal" to me :)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to