Uploaded image for project: 'Maven SCM'
  1. Maven SCM
  2. SCM-212

scm:tag while using Perforce fails if label already exists

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0-beta-4
    • None
    • Perforce

    Description

      scm:tag while using Perforce fails if label already exists.

      C:\p4dev\users\ssmythe\maven2\test>mvn -Dtag=foo scm:tag
      [INFO] Scanning for projects...
      [INFO] Searching repository for plugin with prefix: 'scm'.
      [INFO] ----------------------------------------------------------------------------
      [INFO] Building Test Maven2 Project
      [INFO] task-segment: [scm:tag]
      [INFO] ----------------------------------------------------------------------------
      [INFO] [scm:tag]
      [ERROR] Provider message:
      [ERROR] Tag failed
      [ERROR] Command output:
      [ERROR] Label foo not changed.

      [INFO] ----------------------------------------------------------------------------
      [ERROR] BUILD ERROR
      [INFO] ----------------------------------------------------------------------------
      [INFO] Command failed.Tag failed
      [INFO] ----------------------------------------------------------------------------
      [INFO] For more information, run Maven with the -e switch
      [INFO] ----------------------------------------------------------------------------
      [INFO] Total time: 3 seconds
      [INFO] Finished at: Wed May 31 11:08:10 PDT 2006
      [INFO] Final Memory: 3M/7M
      [INFO] ----------------------------------------------------------------------------

      I've included a debug and error output log.

      Is there a way to ignore this error? Like set some property -Dtag.error.ignore=true or something like that?

      Attachments

        1. log.txt
          14 kB
          Steve Smythe

        Activity

          People

            mperham Mike Perham
            ssmythe Steve Smythe
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: