---------- Forwarded message ---------- From: Sanjay Choudhary <[EMAIL PROTECTED]> Date: Jul 31, 2005 11:01 PM Subject: Re: SCM tag 1.5. To: Brett Porter <[EMAIL PROTECTED]>
Is there a way to do cvs rtag, w/o checkout the whole project? This is what I plan to do 1. In the build script , tag a project at 11:00 PM 2. Checkout project for a tag. 3. Build it Sanjay On 7/31/05, Sanjay Choudhary <[EMAIL PROTECTED]> wrote: > > perfect, works like a charm :-) > I was trying maven.scm.sticky.tag. > Sanjay > > On 7/31/05, Brett Porter <[EMAIL PROTECTED] > wrote: > > > > The URL stays the same, but you need to specify maven.scm.tag. > > > > Cheers > > Brett > > > > On 8/1/05, Sanjay Choudhary < [EMAIL PROTECTED]> wrote: > > > My mistake, I didn't specify the repository path. Darn.........!! > > > > > > what should be the URL to checkout something out of the branch? I > > tried > > > various combinations but none worked :-( > > > > > > Thanks, > > > Sanjay > > > > > > > > > > > > On 7/31/05, Brett Porter < [EMAIL PROTECTED]> wrote: > > > > It appears the connection it is using is > > > > > > > scm:cvs:pserver:[EMAIL PROTECTED]:commonearproject > > > > > > > > This is invalid (after the hostname, you need to rest of the root, > > > > then : and then the module, here you just have the module) > > > > > > > > It is probably being picked up from the project.xml in the current > > > > directory - this command is designed to run when there is no project > > > > > > in the current directory. > > > > > > > > To set the password, you should manually do a "cvs login" command > > > > outside of maven first. > > > > > > > > - Brett > > > > > > > > On 8/1/05, Sanjay Choudhary < [EMAIL PROTECTED]> wrote: > > > > > Hi All, > > > > > My configuration details are as below > > > > > 1. Maven SCM Plug In 1.5 > > > > > 2. Source Control Repository CVS > > > > > I am doing something very simple, that is checkout a project from > > a cvs > > > > > repository. Command is as below:- > > > > > maven scm:bootstrap - > > > > > > > > Dmaven.scm.url=scm:cvs:pserver:[EMAIL PROTECTED] > > > > > :NAOL_Conversion_2_NKP_R5/CodeTableEJB > > > > > NAOL_Conversion_2_NKP_R5 is branch name and CodeTableEJB is the > > project > > > > > name. > > > > > I get the error > > > > > > > > > > build:start: > > > > > > > > > > scm:find-connection: > > > > > [echo] Using connection: > > > scm:cvs:pserver:[EMAIL PROTECTED] > > > > > :commonearproject > > > > > > > > > > scm:checkout: > > > > > [echo] Checking out > > > scm:cvs:pserver:[EMAIL PROTECTED] > > > > > :commonearproject > > > > > > > > > > BUILD FAILED > > > > > File...... C:\Documents and > > > Settings\choudhsa\.maven\cache\maven- > > > > > scm-plugin-1.5\plugin.jelly > > > > > Element... scm:checkout > > > > > Line...... 110 > > > > > Column.... 233 > > > > > The scm url is invalid. > > > > > Total time: 4 seconds > > > > > Finished at: Sun Jul 31 19:43:24 PDT 2005 > > > > > What is it I am doing wrong? > > > > > How can I specify my cvs password? (other than setting it in > > properties > > > > > file). As you can see, I am using pserver and not ssh. > > > > > Please advice. > > > > > Thanks, > > > > > Sanjay > > > > > > > > > > > > > > > > > > > > > > > >