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. 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]
