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

release:update-versions should support -DreleaseVersion too (not only -DdevelopmentVersion), so it also supports not suffixing the version with -SNAPSHOT

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • update-versions

    Description

      The documentation
      http://maven.apache.org/plugins/maven-release-plugin/examples/update-versions.html
      states "The update-versions goal can use the same properties used by the prepare goal for specifying the versions to be used."
      That's not true, as releaseVersion is not supported:
      http://maven.apache.org/plugins/maven-release-plugin/prepare-mojo.html#releaseVersion

      This means, that if you do this:
      mvn --batch-mode release:update-versions -DdevelopmentVersion=1.2.0
      that the set version is not 1.2.0, but in fact 1.2.0-SNAPSHOT.

      Attachments

        Issue Links

          Activity

            People

              rfscholte Robert Scholte
              ge0ffrey.desmet Geoffrey De Smet
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: