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

release plugin converts explicit version to snapshot

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 2.1
    • None
    • update-versions
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: