Hello,

2011/9/26 Laird Nelson <ljnel...@gmail.com>:
> What should the scm element contain so that the maven-release-plugin will
> work properly?
>
> I have seen people's projects have scm stanzas like this:
>
> <scm>
>    <connection>scm:svn:https://whatever.com/whatever/trunk</connection>
>    <developerConnection>scm:svn:https://whatever.com/whatever/trunk
> </developerConnection>
>  </scm>

Sounds good if you correctly use the standard svn layout.
Always use what svn info output.
And with that release plugin [1] will calculate magically the correct
tag url to use
>
> ...and I've seen the same without the trunk:
>
> <scm>
>    <connection>scm:svn:https://whatever.com/whatever</connection>
>    <developerConnection>scm:svn:https://whatever.com/whatever
> </developerConnection>
>  </scm>
>
> If one is using Subversion, should one append the branch/trunk name to the
> scm element, or should one only specify the repository root?
>
> Thanks,
> Laird
>
> --
> http://about.me/lairdnelson
>



-- 
Olivier Lamy
Talend : http://talend.com
http://twitter.com/olamy | http://linkedin.com/in/olamy

[1] 
http://maven.apache.org/plugins/maven-release-plugin/prepare-mojo.html#tagBase

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to