[
https://issues.apache.org/jira/browse/MRELEASE-549?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14946584#comment-14946584
]
Eduardo Hernández Guerra commented on MRELEASE-549:
---------------------------------------------------
Well I can confirm that using SVN client 1.9.2 and SVN server 1.8.5, the new
"--pin-externals" parameter to "svn copy" works correctly using the command
line. It pegs the revision of all the externals the revision at the time of the
tagging.
I think that a "pinExternals" boolean parameter for release:prepare (that would
only work if SVN version > 1.9) would be great to integrate this in Maven.
> Pin svn:externals when tagging
> ------------------------------
>
> Key: MRELEASE-549
> URL: https://issues.apache.org/jira/browse/MRELEASE-549
> Project: Maven Release Plugin
> Issue Type: Improvement
> Components: prepare
> Affects Versions: 2.0
> Reporter: Stephen Connolly
>
> svn:externals is a property set on directories in a subversion repository.
> there are two classes of svn:externals, ones which specify a revision and
> ones which do not.
> when creating a tag, the tag should only contain svn:externals which have
> been pinned to specific revisions, otherwise the tag is not a tag, i.e. it is
> subject to change.
> A generic solution (i.e. not SVN specific) would be to add preTagGoals and
> postTagGoals so that a custom goal could be invoked around creating the tag.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)