Hi Nitko,

I had a similar problem using CVSNT client and a Linux CVS server. Try these steps:

1. Update client and server CVS binaries to the latest version (there used to be some incompatibilities between Win / Linux versions) 2. Look if the .cvspass repository entries really match the repository specified in the SCM Url 3. Search the registry for your path (/cvs/common or whatever), in my case the entries that CVSNT put there contained a trailing slash, which caused the problem for me. 4. Check your CVSROOT environment variable, try to set it explicitly on the command prompt for testing.

As a general advice: the problem that you encounter is probably not the fault of the Maven PlugIn, but rather a configuration error on your side. CVSNT does not use the .cvspass, but instead the entries in the registry, so the first thing to do would be to execute the CVS commands on the dosprompt and see if it works there, if not check your settings in the .cvspass, the registry and also the server side if the repository strings match exactly. It took me quite some time until I got that fixed on my side, but don't despair, it will eventually work. :-)

Hope this helps,
Michael Böckling


Do you have an error or message with this command?

Nitko2 a écrit :

No, this doesn't work. Do I have any other possiblities?

Server is CVSNT on Windows 2003 server.



Emmanuel Venisse wrote:

I'm not sure if maven-scm works with cvsnt, but you can try this:

mvn -e scm:checkout -DconnectionUrl=scm|cvs|pserver|USERNAME:[EMAIL PROTECTED]|E:\cvs\common|MODULE

and

mvn -e scm:checkout -DconnectionUrl=scm|cvs|pserver|USERNAME:[EMAIL PROTECTED]|E:/cvs/common|MODULE

Emmanuel


Nitko2 a écrit :

Hi,

i'm in the process of learning about maven 2.0. So I created a project and decided to fetch source code from cvs repository. After I read that connection string from pom.xml won't help me with checkout, I tried with

mvn -e scm:checkout -DconnectionUrl=scm:cvs:pserver:[EMAIL PROTECTED]:E:\cvs\common:MODULE

mvn -e scm:checkout -DconnectionUrl=scm|cvs|pserver|[EMAIL PROTECTED]|E:\cvs\common|MODULE

mvn -e scm:checkout -D"connectionUrl=scm|cvs|pserver|[EMAIL PROTECTED]|E:\cvs\common|MODULE"


With last command I got:

[INFO] [scm:checkout]
[ERROR] Provider message:
[ERROR] The cvs command failed.
[ERROR] Command output:
[ERROR] Empty password used - try 'cvs login' with a real password
cvs [checkout aborted]: \cvs\common: no such repository


I'm using CVSNT on WinXP and .cvspass is created in user home. It seems that the problem is colon in repository path, but I don't know how to fix it.
My Maven 1.x CVS history is repeating.

Can someone help me with this.

Thanks,
Filip



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

Reply via email to