Have you tried this.

mvn -e scm:checkout -DcheckoutDirectory=src/main/java -Dincludes=*.java 
-DscmVersion=My_Release_1_0 -DscmVersionType=branch 
-Dmaven.scm.provider.cvs.implementation=cvs_native 
-DconnectionUrl=scm:cvs:pserver:user_name:[EMAIL 
PROTECTED]:my_cvs_home_path:my_cvs_module_path


The cvs_native forces it to use CVSNT location for login data. Otherwise maven 
looks in the user home and the .cvspass doesn't exist there, since CVSNT uses 
the registery. 


Cheers,
Jim


-----Original Message-----
From: yi bo [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 23, 2007 2:24 AM
To: users@maven.apache.org
Subject: scm of maven

Hey, all.  I can't for the life of me figure out why the CVS SCM provider
can't check out my source files from CVS.  I noticed in a couple prior posts
that the CVSNT executable requires a login from the same shell prior to
starting Continuum.  I've done this, yet I still get a build error with
"Username isn't defined." as the cause.

Here's my SCM url with username/password/host sanitized.  

<connection>scm:cvs:pserver:myuser:[EMAIL 
PROTECTED]:/Root/projects/project001</connection>


waiting  for  your  help!!!!


      ___________________________________________________________ 
抢注雅虎免费邮箱-3.5G容量,20M附件! 
http://cn.mail.yahoo.com


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

Reply via email to