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

release:branch makes pom changes for branch in 'master' before branching

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 2.2.2
    • None
    • branch, Git
    • None

    Description

      release:branch makes the change for the branch version before branching. This means the version change is seen in the trunk's history.

      If master is currently '1-SNAPSHOT':

      * 1-SNAPSHOT [master]
      

      and I create a new 'branch-with-hacks' branch as '1.hacks-SNAPSHOT' then I'll see this in my log:

      * 1-SNAPSHOT [master]
      |
      * 1.hacks-SNAPSHOT [branch-with-hacks]
      |
      * 1-SNAPSHOT
      

      with a commit and a revert on master where I would expect:

      * 1.hacks-SNAPSHOT [branch-with-hacks]
      |
      * 1-SNAPSHOT [master]
      

      with 'master' remaining unaffected.

      Attachments

        Issue Links

          Activity

            People

              rfscholte Robert Scholte
              joewalton Joseph Walton
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: