You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Jeff Mutonho <ej...@gmail.com> on 2006/09/08 11:56:42 UTC

Build strategy help

Background.
=========
We're going to be doing a release of  version 1 of our application, but
we're already doing pre-dev for version 2.The version 1 release is going to
sit on a branch in cvs and all bug fixes for that version will be committed
to that branch.All rebuilds with the bug fixes will be done off that branch.
Version 2 development will carry on the HEAD in cvs.

The Problem
=========
Currently version 1 code is still on the HEAD continuum checks out all the
code from there.Now when we create  brach for version 1 and start dev for
version 2 on the HEAD , I wish to be able to still run builds , both for the
version 1 branch and the version 2(on the HEAD).Is it possible to setup
maven profiles that both get invoked to build the branch and the head code
bases simultaneously? How would you go about setting this up?Or is it just
easier to setup the two as two different projects, as one would normally do
with eg project A and project B?

-- 


Jeff  Mutonho

GoogleTalk : ejbengine
Skype        : ejbengine
Registered Linux user number 366042

Re: Build strategy help

Posted by Christophe DENEUX <ch...@capgemini.com>.
Hi Jeff,

The following should work:
    - In the branched project, update your pom with the scm url 
corresponding to your branch,
    - In continuum, add a new project corresponding to your branch.
    

____________________________________________________________________________

Christophe DENEUX / Capgemini Sud / M�diterran�e
Technical Leader
Tel: + 33 4 93 72 43 74 / www.capgemini.com
Fax: + 33 4 93 21 02 95
Porte de l'Ar�nas - Entr�e B / 455 Promenade des Anglais / 06200 Nice

Join the Collaborative Business Experience
____________________________________________________________________________



Jeff Mutonho a �crit :
> Background.
> =========
> We're going to be doing a release of  version 1 of our application, but
> we're already doing pre-dev for version 2.The version 1 release is 
> going to
> sit on a branch in cvs and all bug fixes for that version will be 
> committed
> to that branch.All rebuilds with the bug fixes will be done off that 
> branch.
> Version 2 development will carry on the HEAD in cvs.
>
> The Problem
> =========
> Currently version 1 code is still on the HEAD continuum checks out all 
> the
> code from there.Now when we create  brach for version 1 and start dev for
> version 2 on the HEAD , I wish to be able to still run builds , both 
> for the
> version 1 branch and the version 2(on the HEAD).Is it possible to setup
> maven profiles that both get invoked to build the branch and the head 
> code
> bases simultaneously? How would you go about setting this up?Or is it 
> just
> easier to setup the two as two different projects, as one would 
> normally do
> with eg project A and project B?
>


This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient,  you are not authorized to read, print, retain, copy, disseminate,  distribute, or use this message or any part thereof. If you receive this  message in error, please notify the sender immediately and delete all  copies of this message.