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

Creating a branch from a tag does not work

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Not A Problem
    • 2.4.1
    • None
    • branch
    • None

    Description

      I'm trying to use the following command to create a branch from an SVN tag:

      mvn release:branch -DupdateBranchVersions=true -DupdateVersionsToSnapshot=false -DupdateWorkingCopyVersions=false -DbranchName=MyBranch

      However, it makes commits to the tag which it shouldn't and also updates the version and dependencies in the branch pom to the latest SNAPSHOT.

      I also tried:

      mvn release:branch -DupdateBranchVersions=true -DupdateVersionsToSnapshot=false -DupdateDependencies=false -DupdateWorkingCopyVersions=false -DsuppressCommitBeforeBranch=true -DbranchName=MyBranch

      And this fails with:

      [ERROR] Error resolving version for plugin 'maven-release-plugin:2.4.1' from the repositories [local (/root/.m2/repository), central (http://nexus.forge.avaya.com/content/groups/public), ace_special (http://nexus.forge.avaya.com/content/repositories/ace_special)]: Plugin not found in any plugin repository -> [Help 1]

      I think this is a pretty major bug.

      Attachments

        Activity

          People

            Unassigned Unassigned
            dk Damien Kamerman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: