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 Štědrý (JIRA)" <ji...@apache.org> on 2016/06/10 18:29:21 UTC

[jira] [Comment Edited] (MRELEASE-953) release:branch non SNAPSHOT -DdevelopmentVersion is ignored

    [ https://issues.apache.org/jira/browse/MRELEASE-953?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15325024#comment-15325024 ] 

Michael Štědrý edited comment on MRELEASE-953 at 6/10/16 6:28 PM:
------------------------------------------------------------------

I found out that it was probably my mistake, because when I used *-DdevelopmentVersion=1.4.0-SNAPSHOT* it worked correctly ...

What made me lose considerable time researching this is a lack of a WARNING message telling me that a NON-SNAPSHOT version will be ignored.


was (Author: vaskrist):
I found out that it was probably my mistake, because when I used -DdevelopmentVersion=1.4.0-SNAPSHOT it worked correctly ...

What made me lose considerable time researching this is a lack of a WARNING message telling me that a NON-SNAPSHOT version will be ignored.

> release:branch non SNAPSHOT -DdevelopmentVersion is ignored
> -----------------------------------------------------------
>
>                 Key: MRELEASE-953
>                 URL: https://issues.apache.org/jira/browse/MRELEASE-953
>             Project: Maven Release Plugin
>          Issue Type: Bug
>          Components: branch
>    Affects Versions: 2.5.3
>         Environment: Windows 7 Enterprise 64-bit, Java 8.0.92 64-bit, Maven 3.2.5, maven-release-plugin 2.4.1-2.5.3
>            Reporter: Michael Štědrý
>            Priority: Minor
>
> I have a simple multimodule (1 parent, 2 child projects) using the version 1.1.2-SNAPSHOT in all the modules. When I use the following command I am offered version 1.1.3-SNAPSHOT to be the new working copy version.
> {code}
> mvn -DdryRun=true release:clean release:branch -DbranchName=branchName -DdevelopmentVersion=1.4.0 -DautoVersionSubmodules=true
> {code}
> I tried using older version of the plugin, and the first version that works OK when I went back through all the versions is 2.3.2. There I am offered the correct version (according to the documentation - http://maven.apache.org/maven-release/maven-release-plugin/branch-mojo.html#developmentVersion).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)