You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "aaron pieper (JIRA)" <ji...@codehaus.org> on 2011/05/05 23:56:22 UTC

[jira] Commented: (MRELEASE-611) The update-versions goal fails when project is not at a SNAPSHOT version

    [ http://jira.codehaus.org/browse/MRELEASE-611?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=265860#action_265860 ] 

aaron pieper commented on MRELEASE-611:
---------------------------------------

This functionality would be very useful when you want to check out and modify a released project. For example, there is a bug in FooProject 2.4.0 which I want to patch; I've checked FooProject's source code, and I want to change all of the POM versions to 2.4.0.1-SNAPSHOT so that I can create a version which is equal to 2.4.0 except for having my one change in it.

> The update-versions goal fails when project is not at a SNAPSHOT version
> ------------------------------------------------------------------------
>
>                 Key: MRELEASE-611
>                 URL: http://jira.codehaus.org/browse/MRELEASE-611
>             Project: Maven 2.x Release Plugin
>          Issue Type: Bug
>    Affects Versions: 2.1
>            Reporter: Karl M. Davis
>            Priority: Minor
>         Attachments: maven-release-plugin-2.1.patch
>
>
> Trying to use the {{update-versions}} goal fails if the project is not at a {{SNAPSHOT}} version. This is a little silly, as one of the reasons for using this goal is to fix that exact problem.
> It currently fails with:
> {noformat}
> [INFO] [release:update-versions {execution: default-cli}]
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] You don't have a SNAPSHOT project in the reactor projects list.
> [INFO] ------------------------------------------------------------------------
> {noformat}

-- 
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