views:

250

answers:

1

I use continuum 1.2.3 to build maven projects. On a fresh continuum installation, I added a pom by upload. I try to build, and get the following error:

Exception:
Exception while executing SCM command.

My SCM URL looks like this: (replaced domain name)

scm:cvs:pserver:cvs.example.com:/Projects:car/wheel/

Any idea what went wrong?

Thanks

+1  A: 

I'm guessing the SCM provider couldn't find your credentials so failed. If you run the build with -X switch it should give more details of the failure reason.

Update: from the format for CVS SCM URLs, the expected format for pserver is:

scm:cvs<delimiter>pserver<delimiter>[username[<delimiter>password]@]servername[<delimiter>port]<delimiter>path_to_repository<delimiter>module_name

If you have a : in the path, you should use | as a separator, perhaps on Continuum there is some other processing interfering and using | will resolve it, e.g.

scm:cvs|pserver|[user]|[password]@cvs.example.com|/Projects|car/wheel/

Assuming that is the cause, you don't want to include your SCM credentials in published files. You can configure Maven to use settings for many of the providers. See this answer for more details.

Rich Seller
Providing username and password in scm url, i get the following error: //start of outputProvider message: The cvs command failed.Command output: //end of outputIn the continuum.log is the following line: 2009-10-07 14:04:10,955 [pool-1-thread-1] INFO org.apache.continuum.scm.manager.Slf4jScmLogger - Executing: cmd.exe /X /C "cvs -z3 -f -d :pserver:[email protected]:/Projects -q checkout -d 3 car/wheel/"running this on command line (windows) sucessfully checks out the sources. But it doesn't work using continuum. Maybe i must use the native cvs implementation?
Synox