Return-Path: Delivered-To: apmail-maven-users-archive@www.apache.org Received: (qmail 79141 invoked from network); 3 Dec 2008 22:03:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Dec 2008 22:03:10 -0000 Received: (qmail 91411 invoked by uid 500); 3 Dec 2008 22:03:15 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 90542 invoked by uid 500); 3 Dec 2008 22:03:13 -0000 Mailing-List: contact users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Users List" Reply-To: "Maven Users List" Delivered-To: mailing list users@maven.apache.org Received: (qmail 90531 invoked by uid 99); 3 Dec 2008 22:03:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Dec 2008 14:03:13 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [69.61.72.148] (HELO vps.i-hicks.org) (69.61.72.148) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Dec 2008 22:01:44 +0000 Received: by vps.i-hicks.org (Postfix, from userid 508) id C95BD3C14D; Wed, 3 Dec 2008 17:02:00 -0500 (EST) Received: from atlas.i-hicks.org (adsl-19-5-14.asm.bellsouth.net [68.19.5.14]) by vps.i-hicks.org (Postfix) with ESMTP id 6AB0E3C14C for ; Wed, 3 Dec 2008 17:01:59 -0500 (EST) Message-ID: <493701D7.4020000@i-hicks.org> Date: Wed, 03 Dec 2008 17:01:59 -0500 From: "David C. Hicks" User-Agent: Thunderbird 2.0.0.18 (X11/20081119) MIME-Version: 1.0 To: Maven Users List Subject: Re: Limitation of the release plugin? References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.0.6 (2005-12-07) on vps.i-hicks.org X-Spam-Level: X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=0.2 required=5.0 tests=AWL,FORGED_RCVD_HELO, RCVD_IN_SORBS_DUL autolearn=no version=3.0.6 Never noticed or thought about it. On my team, we call a "cease fire" when a build is being done to avoid any such problems. We were doing that before using Maven, too, so it's a bit of a hold-over. I can see your point, though. Todd Thiessen wrote: > I have been looking at the release plugin a fair bit lately and noticed > something that concerned me. > > The first modification of the pom changes the version to remove the > "-SNAPSHOT" and also changes the SCM values to point to the tag location > instead of the trunk location. Once done, it then commits this change > to trunk. > > So what happens if another user checks out the project during this > window? I just tried testing it myself by interrupting a > release:prepare right after the first commit. I then checkout the > project to a another directory and lo and behold, the version looked > like a released version and the SCM information referenced the tag not > the trunk. > > Can anyone else confirm this? This seems pretty dangerous. > > --- > Todd Thiessen > > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org