I am using a maven script to check out my project from cvs. My purpose is
that a user checks out and builds a project with just one click using the
mvn scm:bootstrap goal. I specify all the scm parameters in the command line
script and I don't put them within pom, because I want a user to check out a
project locally to do a build, not in cvs; i don't have a pom locally..

Here is the script:

mvn scm:checkout -DcheckoutDirectory=build
-DconnectionUrl="scm:cvs|ext|<username>:<password>@
<cvs_server>|<root_path>|<module>" -DscmVersion=<my_tag>
-DscmVersionType=tag -DuseExport=true

When I do that it successfully checks out the tagged files as expected.
The problem is that the command never terminates, so If I try to use the
scm:bootstrap goal to build the checkout project it hangs up on the checkout
phase.

I debugged it and I found out that maven hangs up trying to execute:
cmd.exe /X /C "cvs -z3 -f -d :ext:<username>:<password>@<server>:<cvs_root>
-q export -r<my_tag> <module>
When I try to run it myself I get the following error:
cvs export: warning: unrecognized response `'ssh' is not recognized as an
intern' from cvs servermmand, ' from cvs serverng: unrecognized response
'operable program or batch file. cvs [export aborted]: end of file from
server

Any ideas??
-- 
View this message in context: 
http://old.nabble.com/Checking-out-from-CVS-with-Maven-and-SCM-tp27929397p27929397.html
Sent from the Maven - SCM mailing list archive at Nabble.com.

Reply via email to