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

mvn release perform fails when the tag has the same name than a branch

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      I tried to cut a release of Apache MINA 2.1.0 for a week, with no success. Actually, the release was fine, but the packages weren't pushed in the Nexus staging repo.

       

      After investigation with Arnaud Héritier, it appeared that the tag we wanted to create collided with an existing branch, thus the release plugin was fetching the code from the branch, not from the tag, resulting in the target/checkout directory containing 2.1.1-SNAPSHOT versions of the code.

       

      Renaming the branch to 2.1 solved the issue.

       

      We do think that the release plugin should checkout the code from the created tag, and not from the branch.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              elecharny Emmanuel Lécharny
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: