You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Ian Springer (JIRA)" <ji...@codehaus.org> on 2008/12/10 21:22:19 UTC

[jira] Created: (MRELEASE-397) release:prepare goal does not check early enough whether the specified tag already exists in SVN

release:prepare goal does not check early enough whether the specified tag already exists in SVN
------------------------------------------------------------------------------------------------

                 Key: MRELEASE-397
                 URL: http://jira.codehaus.org/browse/MRELEASE-397
             Project: Maven 2.x Release Plugin
          Issue Type: Bug
    Affects Versions: 2.0-beta-8
         Environment: multi-module build
            Reporter: Ian Springer


I ran:

mvn release:prepare -Dresume=false -X -e "-DpreparationGoals=clean install -Dmaven.test.skip=true" -Dtag=MyTag

not realizing a tag named MyTag already existed in SVN.

The release plugin eventually failed with a MyTag already exists error, but not until after it had already updated all poms in the reactor to the release version and committed them to SVN. But it did not roll back the SVN commit it had done before aborting, so I had to roll it back manually.

The release plugin should check whether the tag already exists right in the beginning (before anything has been committed to SVN) and abort if it does.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (MRELEASE-397) release:prepare goal does not check early enough whether the specified tag already exists in SVN

Posted by "Arnaud Heritier (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRELEASE-397?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arnaud Heritier updated MRELEASE-397:
-------------------------------------

    Component/s: prepare

> release:prepare goal does not check early enough whether the specified tag already exists in SVN
> ------------------------------------------------------------------------------------------------
>
>                 Key: MRELEASE-397
>                 URL: http://jira.codehaus.org/browse/MRELEASE-397
>             Project: Maven 2.x Release Plugin
>          Issue Type: Bug
>          Components: prepare
>    Affects Versions: 2.0-beta-8
>         Environment: multi-module build
>            Reporter: Ian Springer
>
> I ran:
> mvn release:prepare -Dresume=false -X -e "-DpreparationGoals=clean install -Dmaven.test.skip=true" -Dtag=MyTag
> not realizing a tag named MyTag already existed in SVN.
> The release plugin eventually failed with a MyTag already exists error, but not until after it had already updated all poms in the reactor to the release version and committed them to SVN. But it did not roll back the SVN commit it had done before aborting, so I had to roll it back manually.
> The release plugin should check whether the tag already exists right in the beginning (before anything has been committed to SVN) and abort if it does.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MRELEASE-397) release:prepare goal does not check early enough whether the specified tag already exists in SVN

Posted by "Vincent Ricard (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRELEASE-397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=161681#action_161681 ] 

Vincent Ricard commented on MRELEASE-397:
-----------------------------------------

I think this issue is a duplicate of  MRELEASE-165.

> release:prepare goal does not check early enough whether the specified tag already exists in SVN
> ------------------------------------------------------------------------------------------------
>
>                 Key: MRELEASE-397
>                 URL: http://jira.codehaus.org/browse/MRELEASE-397
>             Project: Maven 2.x Release Plugin
>          Issue Type: Bug
>          Components: prepare
>    Affects Versions: 2.0-beta-8
>         Environment: multi-module build
>            Reporter: Ian Springer
>
> I ran:
> mvn release:prepare -Dresume=false -X -e "-DpreparationGoals=clean install -Dmaven.test.skip=true" -Dtag=MyTag
> not realizing a tag named MyTag already existed in SVN.
> The release plugin eventually failed with a MyTag already exists error, but not until after it had already updated all poms in the reactor to the release version and committed them to SVN. But it did not roll back the SVN commit it had done before aborting, so I had to roll it back manually.
> The release plugin should check whether the tag already exists right in the beginning (before anything has been committed to SVN) and abort if it does.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (MRELEASE-397) release:prepare goal does not check early enough whether the specified tag already exists in SVN

Posted by "Paul Gier (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRELEASE-397?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Gier closed MRELEASE-397.
------------------------------

      Assignee: Paul Gier
    Resolution: Duplicate

Closing because this is a duplicate of MRELEASE-165

> release:prepare goal does not check early enough whether the specified tag already exists in SVN
> ------------------------------------------------------------------------------------------------
>
>                 Key: MRELEASE-397
>                 URL: http://jira.codehaus.org/browse/MRELEASE-397
>             Project: Maven 2.x Release Plugin
>          Issue Type: Bug
>          Components: prepare
>    Affects Versions: 2.0-beta-8
>         Environment: multi-module build
>            Reporter: Ian Springer
>            Assignee: Paul Gier
>
> I ran:
> mvn release:prepare -Dresume=false -X -e "-DpreparationGoals=clean install -Dmaven.test.skip=true" -Dtag=MyTag
> not realizing a tag named MyTag already existed in SVN.
> The release plugin eventually failed with a MyTag already exists error, but not until after it had already updated all poms in the reactor to the release version and committed them to SVN. But it did not roll back the SVN commit it had done before aborting, so I had to roll it back manually.
> The release plugin should check whether the tag already exists right in the beginning (before anything has been committed to SVN) and abort if it does.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira