Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-14073

mvn release:prepare thinks tag already exists

    XMLWordPrintable

Details

    • Bug
    • Resolution: Answered
    • Low
    • None
    • None
    • Maven, Repository (Git)
    • None

    Description

      I'm using Maven version 3.1.1 with Bamboo & Stash/Git. My Git-repository has the tags [project]-2.0.0 up to [project]-4.0.3. Running the build-/release-plan yields the following error:

      build 28-Nov-2013 07:25:21 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.3.2:prepare (default-cli) on project [project]: Unable to tag SCM
      build 28-Nov-2013 07:25:21 [ERROR] Provider message:
      build 28-Nov-2013 07:25:21 [ERROR] The git-tag command failed.
      build 28-Nov-2013 07:25:21 [ERROR] Command output:
      build 28-Nov-2013 07:25:21 [ERROR] fatal: tag '[project]-4.0.4' already exists

      I checked roughly 12 times and I'm 100% sure, that the tag in question does not exist in the git-repository. Is this a bug or am I doing something wrong?

      Attachments

        Activity

          People

            Unassigned Unassigned
            aabb8ef5d0b5 Vince
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: