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

updateWorkingCopyVersions=false still bumps up pom versions to next development version

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.3
    • 2.3.2
    • prepare
    • None

    Description

      The flag updateWorkingCopyVersions (more specifically with value "false") is not handled correctly.

      Attached project is a simple Maven project with version 1.0-SNAPSHOT, depending on version 2.3 of the release plugin. It is configured with dryRun=true and updateWorkingCopyVersions=false.

      When running mvn:prepare (and accepting the versions that are proposed), you'll see that pom.xml.next file contains 1.1-SNAPSHOT (the next development version) instead of 1.0 (the tagged version).

      Attachments

        1. mrelease760-patch.diff
          3 kB
          Antonio Petrelli
        2. maven-release-plugin-testcase.zip
          0.9 kB
          Joeri Leemans

        Issue Links

          Activity

            People

              rfscholte Robert Scholte
              joeri.leemans Joeri Leemans
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: