You can set the tag name in the project edit view
Emmanuel
Gautham Pamu a écrit :
Hi Everyone,
I would like tag the code before every build and extract the tag build and
test it. In maven
scm configuration, you can specify the tag name. How can I set this value in
continuum ?
Continuum just has this scm url, how do I set the tag name...
scm:cvs:ext:[EMAIL PROTECTED]:/cvsroot/project1/:moduleMain
Thanks
Gautham Pamu
On 3/31/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hi Gautham,
By URL I assume you are referring to the [developer]connection element?
The purpose of this element is tell Maven (or Continuum in your case)
how
to connect to your SCM repository. Information related to operations
performed on the repository, including release tags, is out of scope for
that element. That's what the tag element is for.
So, if your CVS repository resides on cvs.example.com, under
/usr/share/cvs, your SCM configuration for the release tag BRANCH_3_1_1
might look something like this:
<scm>
<connection>scm:cvs:pserver:anoncvs:@cvs.example.com
:/usr/share/cvs:myproj</connection>
<developerConnection>scm:cvs:ext:[EMAIL PROTECTED]
:/usr/share/cvs:myproj</connection>
<tag>BRANCH_3_1_1</tag>
</scm>
Documentation on the CVS connection format is available at
http://maven.apache.org/scm/cvs.html
HTH,
Ian
It's better to be hated for who you are
than loved for who you are not
Ian D. Stewart
Appl Dev Analyst-Advisory, DCS Automation
JPMorganChase Global Technology Infrastructure
Phone: (614) 244-2564
Pager: (888) 260-0078
"Gautham Pamu"
<[EMAIL PROTECTED] To: "Maven Users
List" <[email protected]>
il.com> cc:
Subject: Re: How to
checkout taged version of the code
03/31/2006 03:57
AM
Please respond to
"Maven Users
List"
Hi Ian,
We are using cvs as our scm. Can you send me how to specify the tag name
in
the URL ?
Thanks
Gautham Pamu
On 3/30/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
wrote:
>
> You can specify the tag in the <scm> portion of pom.xml:
>
> <scm>
> <connection/>
> <developerConnection/>
> <url/>
> <tag/>
> </scm>
>
> See
>
>
http://maven.apache.org/ref/2.0.3-SNAPSHOT/maven-model/maven.html#class_scm
>
> HTH,
> Ian
>
> It's better to be hated for who you are
> than loved for who you are not
>
> Ian D. Stewart
> Appl Dev Analyst-Advisory, DCS Automation
> JPMorganChase Global Technology Infrastructure
> Phone: (614) 244-2564
> Pager: (888) 260-0078
>
>
>
> "Gautham Pamu"
> <[EMAIL PROTECTED] To:
> [email protected], "Maven Users List" <
> [email protected]>
> il.com> cc:
> Subject: How to
checkout
> taged version of the code
> 03/30/2006 01:48
> PM
> Please respond to
> "Maven Users
> List"
>
>
>
>
>
> Hi,
>
> Is it possible to add maven 2 project to continuum to checkout tagged
> version of the code. Can you specify the tag in the connection URL.
>
> Thanks
> -Gautham Pamu
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
-Gautham Pamu