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

release plugin converts explicit version to snapshot

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.1
    • Fix Version/s: None
    • Component/s: update-versions
    • Labels:
      None
    • Environment:
    • Flags:
      Patch

      Description

      I would like to use release:update-versions to explicitly update the versions of my multiproject. Unfortunetly the release plugin converts the given developmentVersion to a SNAPSHOT version. It happens in MapVersionPhase.getNextVersion().

      I would expect the plugin to leave the given developmentVersion property as it is, because the prompt version will not be converted. Here is my command line:

      mvn release:update-versions -DautoVersionSubmodules=true -DdevelopmentVersion=2.0.1 -DpushChanges=false

      I made a patch and attached it to the issue.

        Attachments

          Activity

            People

            • Assignee:
              rfscholte Robert Scholte
              Reporter:
              bmau Bernd Mau
            • Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: