From continuum-users-return-5738-apmail-maven-continuum-users-archive=maven.apache.org@maven.apache.org Wed Jan 23 17:12:58 2008 Return-Path: Delivered-To: apmail-maven-continuum-users-archive@www.apache.org Received: (qmail 5544 invoked from network); 23 Jan 2008 17:12:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Jan 2008 17:12:58 -0000 Received: (qmail 68471 invoked by uid 500); 23 Jan 2008 17:12:47 -0000 Delivered-To: apmail-maven-continuum-users-archive@maven.apache.org Received: (qmail 68202 invoked by uid 500); 23 Jan 2008 17:12:47 -0000 Mailing-List: contact continuum-users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: continuum-users@maven.apache.org Delivered-To: mailing list continuum-users@maven.apache.org Received: (qmail 68188 invoked by uid 99); 23 Jan 2008 17:12:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Jan 2008 09:12:47 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [207.188.87.164] (HELO smtp2.israfil.net) (207.188.87.164) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Jan 2008 17:12:33 +0000 Received: from azamat.ad.liberate.com (pat.tvworks.com [209.82.43.120]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp2.israfil.net (Postfix) with ESMTP id 4F081AD442B; Wed, 23 Jan 2008 12:16:51 -0500 (EST) Message-Id: From: Christian Edward Gruber To: continuum-users@maven.apache.org In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Subject: Re: Problem to use 2 projects (trunk and branch) in the same continuum Mime-Version: 1.0 (Apple Message framework v915) Date: Wed, 23 Jan 2008 12:12:18 -0500 References: <00be01c85dd4$06c801c0$7204a8c0@tecnologia14> X-Mailer: Apple Mail (2.915) X-Virus-Checked: Checked by ClamAV on apache.org Typically, one would have branches have a different version. For =20 example, trunk would be on 2.0-SNAPSHOT, but the 1.x branch would be =20 on 1.2-SNAPSHOT. A lot of this depends on one's branching strategy. =20= If you use branches for teams or experimental features, then I would =20 build a branch portion into your versions. A short code at the =20 beginning of the branch version. 1.0-SNAPSHOT (trunk) 1.0-TEAM1-SNAPSHOT 1.0-TEAM2-SNAPSHOT or 1.0-SNAPSHOT (trunk) TEAM1-1.0-SNAPSHOT TEAM2-1.0-SNAPSHOT The above is a problematic strategy for branching, but it is used, and =20= this way you have everything nicely separated. At some points, where =20= we had non-version-oriented branching (experimental branches) we had a =20= property set in the active parent (the one that all things got their =20 versions from) that defined the version for itself and all children. ... ${providedversion} ... 1.0-SNAPSHOT and then we changed it into EXP-BLAH-1.0-SNAPSHOT for the experimental work that didn't follow our =20 "branch for maintenance" strategy. Christian. On 23-Jan-08, at 11:40 , Emmanuel Venisse wrote: > You must use a different version for your projects. > An uniq id for a project is groupId+artifactId+version > > Emmanuel > > On Jan 23, 2008 4:24 PM, Claudio Ranieri =20= > wrote: > >> Hi, >> >> I added 2 M2_projects in continuum. The trunk version and branch =20 >> version >> of the one project. >> But the continuum only detect changes in the branch version. The =20 >> continuum >> doesn=B4t detect changes in trunk version. >> I saw the continuum log and I got: >> >> 12646035 [defaultScheduler_Worker-11] WARN >> org.apache.maven.continuum.Continuum:default - Project >> 'ReplicacaoNova:publicacao:bin' is duplicated in the reactor >> >> groupId: ReplicacaoNova >> artifactoryId: publicacao >> version: bin >> >> How can I resolve this problem? >> Thanks