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

autoVersionSubmodules causes an AssertionError with release:branch

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0
    • 2.1
    • branch
    • None
    • WinXP, maven 2.2.1, Java 5
    • Patch

    Description

      When I try to run the following command I get an AssertionError because the root projekt is added twice into map:

      mvn release:branch -DdryRun=true -DbranchName=re3.07.05 -DautoVersionSubmodules=true

      Attached patch should fix this issue

      Attachments

        1. branch-auto-version.patch
          0.8 kB
        2. reproduce.tgz
          0.6 kB

        Activity

          People

            Unassigned Unassigned
            lucien@wellernet.ch Lucien Weller
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: