You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Thorsten Heit (Jira)" <ji...@apache.org> on 2019/12/20 08:34:00 UTC

[jira] [Commented] (MRELEASE-549) Pin svn:externals when tagging

    [ https://issues.apache.org/jira/browse/MRELEASE-549?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17000719#comment-17000719 ] 

Thorsten Heit commented on MRELEASE-549:
----------------------------------------

The Maven SCM plugin contains support for pinning SVN externals since 1.11.1 (see SCM-805) during copy operations:

The scm:tag and scm:branch goals support the parameter "pinExternals", so how about adding support for this in the release plugin?

> 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
>            Priority: Major
>         Attachments: maven-scm.patch
>
>
> 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
(v8.3.4#803005)