maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David C. Hicks" <>
Subject Re: Limitation of the release plugin?
Date Wed, 03 Dec 2008 22:01:59 GMT
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:
For additional commands, e-mail:

View raw message