Release plugin and SVN tags

2010-10-15 Thread Phillip Hellewell
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

Re: Release plugin and SVN tags

2010-10-15 Thread Antonio Petrelli
2010/10/15 Phillip Hellewell ssh...@gmail.com: 1. Change version in pom; check it in, tag it, change version back; check it in. This is exactly how release plugin behaves. Best regards. Antonio - To unsubscribe, e-mail:

Re: Release plugin and SVN tags

2010-10-15 Thread Phillip Hellewell
On Fri, Oct 15, 2010 at 3:50 AM, Antonio Petrelli antonio.petre...@gmail.com wrote: 2010/10/15 Phillip Hellewell ssh...@gmail.com: 1. Change version in pom; check it in, tag it, change version back; check it in. This is exactly how release plugin behaves. Thanks!

Re: Release plugin and SVN tags

2010-10-15 Thread Stephen Connolly
On 15 October 2010 10:47, Phillip Hellewell ssh...@gmail.com 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

Re: Release plugin and SVN tags

2010-10-15 Thread Baptiste MATHUS
2010/10/15 Phillip Hellewell ssh...@gmail.com 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

Re: Release plugin and SVN tags

2010-10-15 Thread Phillip Hellewell
On Fri, Oct 15, 2010 at 5:21 AM, Baptiste MATHUS m...@batmat.net wrote: 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

Re: Release plugin and SVN tags

2010-10-15 Thread Phillip Hellewell
On Fri, Oct 15, 2010 at 3:50 AM, Antonio Petrelli antonio.petre...@gmail.com wrote: 2010/10/15 Phillip Hellewell ssh...@gmail.com: 1. Change version in pom; check it in, tag it, change version back; check it in. This is exactly how release plugin behaves. So I just read over release:prepare

Re: Release plugin and SVN tags

2010-10-15 Thread Baptiste MATHUS
It should be easy to do. We currently launch maven release from the command line through hudson with a unique command. Read http://maven.apache.org/plugins/maven-release-plugin/prepare-mojo.html mainly it's about developmentVersion and releaseVersion. See also

Re: Release plugin and SVN tags

2010-10-15 Thread Phillip Hellewell
On Fri, Oct 15, 2010 at 6:06 AM, Baptiste MATHUS m...@batmat.net wrote: It should be easy to do. We currently launch maven release from the command line through hudson with a unique command. Read http://maven.apache.org/plugins/maven-release-plugin/prepare-mojo.html (snip) Thanks!