2010/10/15 Phillip Hellewell <[email protected]> > 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. >
If you mean creating a new patched version based on a tag, sure. The classical UC is in fact to create branch based on this tag renaming the version to some new -SNAPSHOT version (not the one of the tag). This is how it should always be done, even without speaking abt maven. But modifying a tag, meaning you want to modify the created one after it's been released is just nonsense, period. Cheers -- Baptiste <Batmat> MATHUS - http://batmat.net Sauvez un arbre, Mangez un castor !
