Uploaded image for project: 'Maven Release Plugin'
  1. Maven Release Plugin
  2. MRELEASE-953

release:branch non SNAPSHOT -DdevelopmentVersion is ignored

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Not A Problem
    • 2.5.3
    • None
    • branch
    • None
    • Windows 7 Enterprise 64-bit, Java 8.0.92 64-bit, Maven 3.2.5, maven-release-plugin 2.4.1-2.5.3

    Description

      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 instead to be the new working copy version of the expected 1.4.0.

      mvn -DdryRun=true release:clean release:branch -DbranchName=branchName -DdevelopmentVersion=1.4.0 -DautoVersionSubmodules=true
      

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

      Attachments

        Issue Links

          Activity

            People

              rfscholte Robert Scholte
              vaskrist Michael Štědrý
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: