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

release:prepare does not commit pom.xml if not in the git root

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5
    • Fix Version/s: 2.5.1
    • Component/s: prepare, scm
    • Labels:
      None
    • Environment:
      git 1.9.0

      Description

      When the project pom.xml is not in the Git project root (f.e. in the "src" directory) the pom.xml not committed and pushed (before tagging)
      Commit of the pom.xml during release:prepare works fine if it is in the / (root) of the git repository
      Using the pom.xml in a subdirectory worked well with version 2.4.2 using git 1.7.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bmargulies Benson Margulies
                Reporter:
                jtden john ten Den
              • Votes:
                16 Vote for this issue
                Watchers:
                15 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: