We're using a standard svn layout (/branches/x.y, /tags, /trunk) and mvn release (i.e. maven-release-plugin) to perform releases, from the branches.
We usually try to make sure the section follows the branch, so it looks like this
<scm>
<connection>scm:svn:http://DOMAIN/svn/PROJECT/MODULE/branches/1.5</connection>
<developerConnection>( same as connection )</developerConnection>
</scm>
Can anybody tell me whether the "branches/1.5" at the end is strictly necessary? Or does maven-plugin figure this out anyway? What happens if it's wrong - say I'm on the 1.5 branch and the scm section of the pom say 1.4, or trunk? I have no immediate desire to try it. :-/