On 15 October 2010 10:47, Phillip Hellewell <[email protected]> wrote:
> Hi all,
>
> I assume it is best practice to use a version like "x.y.z-SNAPSHOT"
> for what is checked into the SCM, and only remove the "-SNAPSHOT" on
> tags.
>
> I haven't played with the release plugin yet, but I think I read
> somewhere that it provides this functionality.
>
> My question is, how can it modify a tag?  Maybe some people don't have
> a hook in place to prevent modifying tags, but we do and that is
> definitely not going to change.
>
> I can think of two other ways it might be able to do it, but they both are 
> ugly:
> 1. Change version in pom; check it in, tag it, change version back; check it 
> in.
> 2. Create a temporary branch, change it there, tag temporary branch,
> delete temporary branch.

3. create the tag from the working copy!

which is how the release plugin works... by default unless you use
<remoteTagging>true</remoteTagging> to work around the issue with svn
and RA neon whereby you cannot create tags from a working copy over
http/https in svn 1.5 or newer

-Stephen

>
> So, does anyone know off the top of their head how the release plugin
> handles this dilemma?
>
> Thanks,
> Phillip
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to