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 Hinterseher (JIRA)" <ji...@codehaus.org> on 2011/07/07 14:43:42 UTC
[jira] Created: (MRELEASE-692) xxx-SNAPSHOT version tag created in
Subversion when executing "release:prepare release:perform" in one call
xxx-SNAPSHOT version tag created in Subversion when executing "release:prepare release:perform" in one call
------------------------------------------------------------------------------------------------------------
Key: MRELEASE-692
URL: https://jira.codehaus.org/browse/MRELEASE-692
Project: Maven 2.x Release Plugin
Issue Type: Bug
Components: scm
Affects Versions: 2.2
Environment: Maven 2.2.1, Windows 7, Jenkins 1.411
Reporter: Michael Hinterseher
Tags created by Jenkins maven release plugin are no longer working correct after upgrading the release plugin version from 2.1 to 2.2.
The created tag in subversion and the scm information now contains "-SNAPSHOT".
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MRELEASE-692) xxx-SNAPSHOT version tag created
in Subversion when executing "release:prepare release:perform" in one call
Posted by "Dan Tran (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MRELEASE-692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=274328#comment-274328 ]
Dan Tran commented on MRELEASE-692:
-----------------------------------
i am seeing the same here.
mvn -B release:prepare -DdryRun=true
check the generated pom.xml.tag to see the issue
> xxx-SNAPSHOT version tag created in Subversion when executing "release:prepare release:perform" in one call
> ------------------------------------------------------------------------------------------------------------
>
> Key: MRELEASE-692
> URL: https://jira.codehaus.org/browse/MRELEASE-692
> Project: Maven 2.x Release Plugin
> Issue Type: Bug
> Components: scm
> Affects Versions: 2.2
> Environment: Maven 2.2.1, Windows 7, Jenkins 1.411
> Reporter: Michael Hinterseher
> Attachments: MRELEASE-692.patch
>
>
> Tags created by Jenkins maven release plugin are no longer working correct after upgrading the release plugin version from 2.1 to 2.2.
> The created tag in subversion and the scm information now contains "-SNAPSHOT".
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MRELEASE-692) xxx-SNAPSHOT version tag created
in Subversion when executing "release:prepare release:perform" in one call
Posted by "Dominique Jean-Prost (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MRELEASE-692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=272872#comment-272872 ]
Dominique Jean-Prost commented on MRELEASE-692:
-----------------------------------------------
Same problem for me using the classic command line mvn release:prepare. The tag name that the plugin suggest now contains "-SNAPSHOT". Didn't happen in 2.1.
> xxx-SNAPSHOT version tag created in Subversion when executing "release:prepare release:perform" in one call
> ------------------------------------------------------------------------------------------------------------
>
> Key: MRELEASE-692
> URL: https://jira.codehaus.org/browse/MRELEASE-692
> Project: Maven 2.x Release Plugin
> Issue Type: Bug
> Components: scm
> Affects Versions: 2.2
> Environment: Maven 2.2.1, Windows 7, Jenkins 1.411
> Reporter: Michael Hinterseher
>
> Tags created by Jenkins maven release plugin are no longer working correct after upgrading the release plugin version from 2.1 to 2.2.
> The created tag in subversion and the scm information now contains "-SNAPSHOT".
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MRELEASE-692) xxx-SNAPSHOT version tag created
in Subversion when executing "release:prepare release:perform" in one call
Posted by "Guillaume Husta (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MRELEASE-692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=272878#comment-272878 ]
Guillaume Husta commented on MRELEASE-692:
------------------------------------------
This bug seems to be related to : [MRELEASE-691|http://jira.codehaus.org/browse/MRELEASE-691] (_tagNameFormat property interpolation does not use the release values but the project ones_)
> xxx-SNAPSHOT version tag created in Subversion when executing "release:prepare release:perform" in one call
> ------------------------------------------------------------------------------------------------------------
>
> Key: MRELEASE-692
> URL: https://jira.codehaus.org/browse/MRELEASE-692
> Project: Maven 2.x Release Plugin
> Issue Type: Bug
> Components: scm
> Affects Versions: 2.2
> Environment: Maven 2.2.1, Windows 7, Jenkins 1.411
> Reporter: Michael Hinterseher
>
> Tags created by Jenkins maven release plugin are no longer working correct after upgrading the release plugin version from 2.1 to 2.2.
> The created tag in subversion and the scm information now contains "-SNAPSHOT".
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MRELEASE-692) xxx-SNAPSHOT version tag created
in Subversion when executing "release:prepare release:perform" in one call
Posted by "Tomasz Szpinda (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MRELEASE-692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=272946#comment-272946 ]
Tomasz Szpinda commented on MRELEASE-692:
-----------------------------------------
Problem seems to be in InputVariablesPhase.execute(), this:
values.setProperty( "version", project.getVersion() );
should read:
values.setProperty( "version", releaseVersion );
> xxx-SNAPSHOT version tag created in Subversion when executing "release:prepare release:perform" in one call
> ------------------------------------------------------------------------------------------------------------
>
> Key: MRELEASE-692
> URL: https://jira.codehaus.org/browse/MRELEASE-692
> Project: Maven 2.x Release Plugin
> Issue Type: Bug
> Components: scm
> Affects Versions: 2.2
> Environment: Maven 2.2.1, Windows 7, Jenkins 1.411
> Reporter: Michael Hinterseher
>
> Tags created by Jenkins maven release plugin are no longer working correct after upgrading the release plugin version from 2.1 to 2.2.
> The created tag in subversion and the scm information now contains "-SNAPSHOT".
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Closed: (MRELEASE-692) xxx-SNAPSHOT version tag created in
Subversion when executing "release:prepare release:perform" in one call
Posted by "Michael Hinterseher (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MRELEASE-692?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Hinterseher closed MRELEASE-692.
----------------------------------------
Resolution: Duplicate
Fix Version/s: 2.2.1
> xxx-SNAPSHOT version tag created in Subversion when executing "release:prepare release:perform" in one call
> ------------------------------------------------------------------------------------------------------------
>
> Key: MRELEASE-692
> URL: https://jira.codehaus.org/browse/MRELEASE-692
> Project: Maven 2.x Release Plugin
> Issue Type: Bug
> Components: scm
> Affects Versions: 2.2
> Environment: Maven 2.2.1, Windows 7, Jenkins 1.411
> Reporter: Michael Hinterseher
> Fix For: 2.2.1
>
> Attachments: MRELEASE-692.patch
>
>
> Tags created by Jenkins maven release plugin are no longer working correct after upgrading the release plugin version from 2.1 to 2.2.
> The created tag in subversion and the scm information now contains "-SNAPSHOT".
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Issue Comment Edited: (MRELEASE-692) xxx-SNAPSHOT version
tag created in Subversion when executing "release:prepare release:perform"
in one call
Posted by "Dan Tran (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MRELEASE-692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=274328#comment-274328 ]
Dan Tran edited comment on MRELEASE-692 at 7/27/11 1:19 AM:
------------------------------------------------------------
i am seeing the same here.
mvn -B release:prepare -DdryRun=true
check the generated pom.xml.tag to see the issue
the work around is to pass in -Dtag=${artifactId}-${version}
was (Author: danttran):
i am seeing the same here.
mvn -B release:prepare -DdryRun=true
check the generated pom.xml.tag to see the issue
> xxx-SNAPSHOT version tag created in Subversion when executing "release:prepare release:perform" in one call
> ------------------------------------------------------------------------------------------------------------
>
> Key: MRELEASE-692
> URL: https://jira.codehaus.org/browse/MRELEASE-692
> Project: Maven 2.x Release Plugin
> Issue Type: Bug
> Components: scm
> Affects Versions: 2.2
> Environment: Maven 2.2.1, Windows 7, Jenkins 1.411
> Reporter: Michael Hinterseher
> Attachments: MRELEASE-692.patch
>
>
> Tags created by Jenkins maven release plugin are no longer working correct after upgrading the release plugin version from 2.1 to 2.2.
> The created tag in subversion and the scm information now contains "-SNAPSHOT".
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (MRELEASE-692) xxx-SNAPSHOT version tag created in
Subversion when executing "release:prepare release:perform" in one call
Posted by "Tomasz Szpinda (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MRELEASE-692?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tomasz Szpinda updated MRELEASE-692:
------------------------------------
Attachment: MRELEASE-692.patch
mrelease-692 patch
> xxx-SNAPSHOT version tag created in Subversion when executing "release:prepare release:perform" in one call
> ------------------------------------------------------------------------------------------------------------
>
> Key: MRELEASE-692
> URL: https://jira.codehaus.org/browse/MRELEASE-692
> Project: Maven 2.x Release Plugin
> Issue Type: Bug
> Components: scm
> Affects Versions: 2.2
> Environment: Maven 2.2.1, Windows 7, Jenkins 1.411
> Reporter: Michael Hinterseher
> Attachments: MRELEASE-692.patch
>
>
> Tags created by Jenkins maven release plugin are no longer working correct after upgrading the release plugin version from 2.1 to 2.2.
> The created tag in subversion and the scm information now contains "-SNAPSHOT".
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira