maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brett Porter (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MRELEASE-251) expression in a POM cannot be updated during release:prepare
Date Tue, 21 Sep 2010 08:32:37 GMT

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

Brett Porter commented on MRELEASE-251:
---------------------------------------

trying this with the latest snapshot, the one on the tag works correctly, but the next version
goes back to the old one.

> expression in a POM cannot be updated during release:prepare
> ------------------------------------------------------------
>
>                 Key: MRELEASE-251
>                 URL: http://jira.codehaus.org/browse/MRELEASE-251
>             Project: Maven 2.x Release Plugin
>          Issue Type: Bug
>          Components: prepare
>    Affects Versions: 2.0-beta-6
>            Reporter: Brett Porter
>            Priority: Critical
>             Fix For: 2.1
>
>
> eg.
> The artifact (org.apache.maven:maven-error-diagnostics) requires a different version
(2.0.7) than what is found (2.0.7) for the expression (mavenVersion) in the project (org.apache.maven:maven).
> This is achieved by running mvn -DdryRun=true release:prepare on the maven-2.0.x branch
and selecting "2.0.7" as the release version for all, "maven-2.0.7" as the tag and "2.0.8-SNAPSHOT"
as the next version for them all.

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

        

Mime
View raw message