Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
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?