You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by dh...@yahoo.com on 2009/04/24 14:24:32 UTC

Building the same M2 project on different branches with Continuous Integration

Hi all,

I have a cvs module that contains an M2 project.  The module has been branched twice from the same point for two different projects.  If I add the two projects to Hudson (our CI server), it will build two versions of the same named jar files, e.g. module-0.0.1-SNAPSHOT.jar into the same repository folder.  So only one can exist at any one time.

What is the standard approach to this scenario - how do I deconflict the generated artefacts?

Many thanks,

Dave



      

Re: Building the same M2 project on different branches with Continuous Integration

Posted by Karl Heinz Marbaise <kh...@gmx.de>.
Hi,

may be you can use a "buildnumber" e.g. (buildnumber plugin) so you have 
different numbers in the name ....
Or you have to change the versions for the different branches, cause 
they are different...(e.g. verisons-plugin)...

Kind regards
Karl Heinz Marbaise
-- 
SoftwareEntwicklung Beratung Schulung    Tel.: +49 (0) 2405 / 415 893
Dipl.Ing.(FH) Karl Heinz Marbaise        ICQ#: 135949029
Hauptstrasse 177                         USt.IdNr: DE191347579
52146 Würselen                           http://www.soebes.de

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org