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

Branch not working in batch mode

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 2.0-beta-9
    • None
    • branch
    • None

    Description

      Creating a branch batch mode fails.

      From a trunk version 09.20.00-SNAPSHOT I try to create a branch with the version 09.20.01-SNAPSHOT.
      The following command to branch in non-batch mode works fine,
      mvn release:branch -DbranchName=09.20.00_BRANCH -DupdateBranchVersions=true -DupdateWorkingCopyVersions=false
      when prompted for the branch version I enter 09.20.01-SNAPSHOT, this works as expected and the branch is created with the version 09.20.01-SNAPSHOT.

      In batch mode the following command creates a branch with the same version as trunk
      mvn release:branch -DbranchName=09.20.00_BRANCH -DupdateBranchVersions=true -DupdateWorkingCopyVersions=false -Dproject.rel.my.org:myProject=09.20.01-SNAPSHOT --batch-mode

      Attachments

        1. patch_branch_version_defaults.txt
          3 kB
          David Cloutier

        Issue Links

          Activity

            People

              brett Brett Porter
              mmilliss Matt Milliss
              Votes:
              3 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: