You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@apache.org> on 2018/03/16 22:40:20 UTC
[jira] [Closed] (SCM-783) Support existence check for tags and
branches
[ https://issues.apache.org/jira/browse/SCM-783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Osipov closed SCM-783.
------------------------------
Resolution: Auto Closed
This issue has been auto closed because it has been inactive for a long period of time. If you think this issue still applies, retest your problem with the most recent version of Maven and the affected component, reopen and post your results.
> Support existence check for tags and branches
> ---------------------------------------------
>
> Key: SCM-783
> URL: https://issues.apache.org/jira/browse/SCM-783
> Project: Maven SCM
> Issue Type: New Feature
> Components: maven-scm-api
> Reporter: Robert Scholte
> Priority: Major
>
> The {{prepare}} goal of the maven-release-plugin does the following scm tasks:
> # commit the adjusted pom.xml with final versions and new (developer)connection
> # tag
> # commit the adjusted pom.xml for the next development cycle.
> If step 2 fails because the tag already exists, the pom is in a wrong status at the trunk. A next attempt to do the {{prepare}} will fail. To prevent this simple mistake is by checking the existence of the tag *before* step 1.
> The same should be done for branches.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)