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

Update-versions does not work in batch mode

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 2.0
    • Fix Version/s: None
    • Component/s: update-versions
    • Labels:
      None
    • Environment:
      Maven 2.2.1

      Description

      When I run the release:update-versions goal in batch mode, it performs the transformation and just cleans the things up...

      Command which is executed:

      mvn -B release:update-versions -DautoVersionSubmodules=true -DdevelopmentVersion=0.4.0

      The output looks like:

      [INFO] Transforming 'ModuleA'...
      [INFO] Transforming 'ModuleB'...
      [INFO] Cleaning up after release...
      

      If I run the command in interactive mode, everything goes fine:

      mvn -B release:update-versions -DautoVersionSubmodules=true

      It asks the version on the prompt and updates the pom files accordingly.

      Any idea?

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rfscholte Robert Scholte
                Reporter:
                dcoraboeuf Damien Coraboeuf
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: