You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Arun P Johny <ar...@delphisoft.com> on 2007/06/04 05:36:02 UTC
How to release a project from CVS Branch
Hi all,
I'm new to maven environment. I've maven 2.0.4 in my system. When I try
to build a project from my CVS ROOT it is happening fine. But now I've
branched out my project. After branching out I tried to build a jar from
the new branch. It is not happening, still my CVS ROOT is working fine.
Can any one help me. My scm setting is as follows
Root:
<scm>
<connection>scm:cvs:local:/var/lib/cvs/root:Common</connection>
<developerConnection>scm:cvs:ext:fkbuilder@192.168.3.5:/var/lib/cvs/root:Common</developerConnection>
<tag>RELEASE_7_4_18RC6</tag>
</scm>
The procedure i followed for releasing my Common project from root is as
follows
Check out common using command: cvs co Common
release it using maven commands: mvn release:prepare and mvn release:perform
It is working fine.
Now I have a modified Common project which is in a cvs branch named
Branch_7_5
I've checked out that Common using cvs co -r Branch_7_5 Common.
Now i want to modify my pom.xml so that it will point to the branched
Common project.
Can any one tell me how should i modify my scm connection
With Regards,
Arun P johny
Re: How to release a project from CVS Branch
Posted by Emmanuel Venisse <em...@venisse.net>.
You can use that:
<scm>
<connection>scm:cvs:local:/var/lib/cvs/root:Common</connection>
<developerConnection>scm:cvs:ext:fkbuilder@192.168.3.5:/var/lib/cvs/root:Common</developerConnection>
<tag>Branch_7_5</tag>
</scm>
Emmanuel
Arun P Johny a écrit :
> Hi all,
>
> I'm new to maven environment. I've maven 2.0.4 in my system. When I try
> to build a project from my CVS ROOT it is happening fine. But now I've
> branched out my project. After branching out I tried to build a jar from
> the new branch. It is not happening, still my CVS ROOT is working fine.
>
> Can any one help me. My scm setting is as follows
>
> Root:
> <scm>
> <connection>scm:cvs:local:/var/lib/cvs/root:Common</connection>
>
> <developerConnection>scm:cvs:ext:fkbuilder@192.168.3.5:/var/lib/cvs/root:Common</developerConnection>
>
> <tag>RELEASE_7_4_18RC6</tag>
> </scm>
>
> The procedure i followed for releasing my Common project from root is as
> follows
>
> Check out common using command: cvs co Common
> release it using maven commands: mvn release:prepare and mvn
> release:perform
>
> It is working fine.
>
> Now I have a modified Common project which is in a cvs branch named
> Branch_7_5
>
> I've checked out that Common using cvs co -r Branch_7_5 Common.
> Now i want to modify my pom.xml so that it will point to the branched
> Common project.
> Can any one tell me how should i modify my scm connection
>
>
> With Regards,
> Arun P johny
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org